Get Revision

Get Revision

Retrieves a specific revision via container app's URN and revision number. Returns 400 if app type is anything but ContainerApp.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/apps/{id}/revisions/{revision}
COPY
Path Parameters
string
id
Required

id

integer
revision
Required

revision

string
id
Required

id

integer
revision
Required

revision


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ContainerAppRevision of type(s) application/json;version=39.0
{
    "revision": 0,
    "appVersion": "string",
    "packageInfo": {
        "type": "HelmChart",
        "version": "string",
        "customValuesCheckSum": "string"
    },
    "state": "string",
    "message": "string",
    "creationDate": "string",
    "owner": {
        "name": "string",
        "id": "string"
    }
}
integer As int32 As int32
revision
Optional

The revision number of current revision. Container app's first revision will be numbered with 1, and this number will be increased by 1 for each new revision.

string
appVersion
Optional

Container app's application version. During revision generation, Cloud Director will persist the value of App's appVersion field into this field.

packageInfo
Optional

Package information used to deploy a container app.

string
state
Optional

State indicating whether this app is accepted or not. Possible values are:

  • IN_DRAFT - The container app is in a paused state and the revision contains the draft edit on container app.
  • SUBMITTED - The container app revision has been submitted.
  • ACCEPTED - The container app revision has been accepted by Cloud Director.
  • REJECTED - The container app revision has been rejected by Cloud Director.
  • CANCELED - The container app revision has been dropped due to a rollover update on container.
string
message
Optional

Detailed message of the container app during revision generation. Cloud Director will use this field to report back the reason why one container app revision was rejected.

string As date-time As date-time
creationDate
Optional

The date and time when this revision was created. An ISO-8601 timestamp generated by the server when a key is added, and this value is immutable and cannot be changed after creation.

owner
Optional

Entity reference used to describe VCD entities