Globus SDK for JavaScript
    Preparing search index...
    update: (
        payload: { bookmark_id: string } & {
            request: {
                data: {
                    data: {
                        attributes: {
                            name: string | null;
                            path: string;
                            pinned: boolean | null;
                        };
                        type: "Bookmark";
                    };
                };
            };
        } & 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: {
                        data: {
                            attributes: {
                                name: string | null;
                                path: string;
                                pinned: boolean | null;
                            };
                            type: "Bookmark";
                        };
                    };
                };
            } & 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: {
                      data: {
                          attributes: {
                              name: string | null;
                              path: string;
                              pinned: boolean | null;
                          };
                          type: "Bookmark";
                      };
                  };
              };
          } & 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 };
                },
            >,
        >