Skip to content

Function: getProjectVersions() ​

ts
function getProjectVersions(
   client, 
   parameters, 
   options?
): Promise<object[]>;

Defined in: src/cloud/api/projectVersions.ts:71

Returns all versions in a project. The response is not paginated. Use Get project versions paginated if you want to get the versions in a project with pagination.

This operation can be accessed anonymously.

Permissions required: Browse Projects project permission for the project.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ expand?: | string & object | "operations" | (string & object | "operations")[]; projectIdOrKey: string; }-
parameters.expand?| string & object | "operations" | (string & object | "operations")[]Use expand to include additional information in the response. This parameter accepts operations, which returns actions that can be performed on the version.
parameters.projectIdOrKey?stringThe project ID or project key (case sensitive).
options?RequestOptions-

Returns ​

Promise<object[]>