Get Versions Using GET 1

Get Versions Using GET 1

Returns a paginated list of catalog item versions.

Request
URI
GET
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/catalog/api/items/{id}/versions
COPY
Path Parameters
string
id
Required

Catalog Item ID

Query Parameters
integer
page
Optional

Results page you want to retrieve (0..N)

integer
size
Optional

Number of records per page.

size example
20

Responses
200

OK

Returns PageOfCatalogItemVersion of type(s) application/json
{
    "content": [
        {
            "createdAt": "string",
            "description": "string",
            "id": "string"
        }
    ],
    "empty": false,
    "first": false,
    "last": false,
    "number": 0,
    "numberOfElements": 0,
    "size": 0,
    "sort": {
        "empty": false,
        "sorted": false,
        "unsorted": false
    },
    "totalElements": 0,
    "totalPages": 0
}
content
Optional

content

boolean
empty
Optional

empty

boolean
first
Optional

first

boolean
last
Optional

last

integer As int32 As int32
number
Optional

number

integer As int32 As int32
numberOfElements
Optional

numberOfElements

integer As int32 As int32
size
Optional

size

sort
Optional

sort

integer As int64 As int64
totalElements
Optional

totalElements

integer As int32 As int32
totalPages
Optional

totalPages


401

Unauthorized

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure