# Get Library Versions

Returns a list of a library's versions

Endpoint: GET /api/v2.0/orgs/{orgToken}/libraries/{libraryUuid}/versions
Version: 2.0
Security: bearer-key

## Security:

  - `bearer-key` (unknown)
    http bearer JWT

## Path parameters:

  - `orgToken` (string, required)
    org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: **Integrate** tab > **API Key**).

  - `libraryUuid` (string, required)
    library UUID (get a project's library by running Library - Project > Get Project Libraries.

## Query parameters:

  - `pageSize` (string)

  - `page` (string)

  - `removeUnstableVersions` (boolean)

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `additionalData` (object)
    + **totalItems**: The total count of data points returned in an API response.
+ **isLastPage**: Defines whether the current page represents the conclusion of the API response. When “true”, this signifies you are viewing the last page of the API response. When “false”, this indicates there are further pages remaining.
    Example: {"totalItems":"422","isLastPage":"true"}

  - `supportToken` (string)
    Example: 1171c60d

  - `retVal` (array)

  - `retVal.lastUpdatedAt` (string)

  - `retVal.version` (string)
    Example: original

  - `retVal.release` (string)

  - `retVal.arch` (string)

  - `retVal.currentVersion` (boolean)

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (*/*):

  - `supportToken` (string)
    Example: 1171c60d

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (*/*):

  - `supportToken` (string)
    Example: 1171c60d

