Globus SDK for JavaScript
    Preparing search index...
    get: (
        payload: { bookmark_id: string } & {
            request?: {
                data?: undefined;
                query?: { include?: "collection" | null };
            };
        } & ServiceMethodPayload,
    ) => Promise<
        JSONFetchResponse<
            {
                data: {
                    attributes: { name: string; path: string; pinned: boolean };
                    id: string;
                    relationships: {
                        collection: { data: { id?: string; type: "Collection" } };
                    };
                    type: "Bookmark";
                };
                included?: {
                    attributes: { display_name: string; high_assurance: boolean };
                    id?: string;
                    type: "Collection";
                }[];
                meta: { request_id: string };
            },
        >,
    > = ...

    Type Declaration

      • (
            payload: { bookmark_id: string } & {
                request?: {
                    data?: undefined;
                    query?: { include?: "collection" | null };
                };
            } & ServiceMethodPayload,
        ): Promise<
            JSONFetchResponse<
                {
                    data: {
                        attributes: { name: string; path: string; pinned: boolean };
                        id: string;
                        relationships: {
                            collection: { data: { id?: string; type: "Collection" } };
                        };
                        type: "Bookmark";
                    };
                    included?: {
                        attributes: { display_name: string; high_assurance: boolean };
                        id?: string;
                        type: "Collection";
                    }[];
                    meta: { request_id: string };
                },
            >,
        >
      • Parameters

        • payload: { bookmark_id: string } & {
              request?: {
                  data?: undefined;
                  query?: { include?: "collection" | null };
              };
          } & ServiceMethodPayload

        Returns Promise<
            JSONFetchResponse<
                {
                    data: {
                        attributes: { name: string; path: string; pinned: boolean };
                        id: string;
                        relationships: {
                            collection: { data: { id?: string; type: "Collection" } };
                        };
                        type: "Bookmark";
                    };
                    included?: {
                        attributes: { display_name: string; high_assurance: boolean };
                        id?: string;
                        type: "Collection";
                    }[];
                    meta: { request_id: string };
                },
            >,
        >