Globus SDK for JavaScript
    Preparing search index...

    Variable getConst

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