Get All Versions Using GET

Get All Versions Using GET

Retrieves all created versions for an action

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

ID of the action

Query Parameters
string
page
Optional

Page to fetch (starting from 0)

string
projectId
Optional

Project ID of action (required for non-system actions)

string
size
Optional

Amount of entities per page


Responses
200

OK

Returns ActionVersionsPage of type(s) application/json
{
    "content": [
        {
            "action": {
                "actionType": "string",
                "compressedContent": "string",
                "contentId": "string",
                "dependencies": "string",
                "description": "string",
                "entrypoint": "string",
                "id": "string",
                "memoryInMB": 0,
                "name": "string",
                "orgId": "string",
                "projectId": "string",
                "provider": "string",
                "runtime": "string",
                "source": "string",
                "system": false,
                "timeoutSeconds": 0
            },
            "actionId": "string",
            "createdBy": "string",
            "createdMillis": 0,
            "description": "string",
            "gitCommitId": "string",
            "id": "string",
            "name": "string",
            "orgId": "string",
            "projectId": "string",
            "released": false
        }
    ],
    "empty": false,
    "first": false,
    "last": false,
    "number": 0,
    "numberOfElements": 0,
    "size": 0,
    "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

integer As int64 As int64
totalElements
Optional

totalElements

integer As int32 As int32
totalPages
Optional

totalPages