jira.js
    Preparing search index...

    Function getAssetsWorkspaces

    • Returns a list of Assets workspace IDs. Include a workspace ID in the path to access the Assets REST APIs.

      Permissions required: Any

      Parameters

      • client: Client
      • Optionalparameters: { limit?: number; start?: number }
        • Optionallimit?: number

          The maximum number of workspace IDs to return per page. Default: 50 See the Pagination section for more details.

        • Optionalstart?: number

          The starting index of the returned workspace IDs. Base index: 0 See the Pagination section for more details.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              _expands?: string[];
              _links?: {
                  base?: string;
                  context?: string;
                  next?: string;
                  prev?: string;
                  self?: string;
                  [key: string]: unknown;
              };
              isLastPage?: boolean;
              limit?: number;
              size?: number;
              start?: number;
              values?: { workspaceId?: string; [key: string]: unknown }[];
              [key: string]: unknown;
          },
      >