curl --request GET \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/workload/{workload}/deployment/{name} \
--header 'Authorization: <api-key>'{
"name": "<string>",
"kind": "<string>",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"lastModified": "2023-11-07T05:31:56Z",
"status": {
"endpoint": "<string>",
"remote": "<string>",
"lastProcessedVersion": 123,
"expectedDeploymentVersion": 123,
"internal": {},
"ready": true,
"deploying": true,
"versions": [
{
"name": "<string>",
"created": "2023-11-07T05:31:56Z",
"workload": 123,
"gvc": 123,
"containers": {},
"ready": true,
"message": "<string>",
"zone": "<string>"
}
],
"jobExecutions": [
{
"workloadVersion": 123,
"status": "pending",
"startTime": "2023-11-07T05:31:56Z",
"completionTime": "2023-11-07T05:31:56Z",
"conditions": [
{
"status": "Unknown",
"type": "<string>",
"lastDetectionTime": "2023-11-07T05:31:56Z",
"lastTransitionTime": "2023-11-07T05:31:56Z",
"message": "<string>",
"reason": "<string>"
}
],
"name": "<string>",
"replica": "<string>",
"containers": {}
}
],
"message": "<string>"
}
}Fetch a specific deployment of a workload
curl --request GET \
--url https://api.cpln.io/org/{org}/gvc/{gvc}/workload/{workload}/deployment/{name} \
--header 'Authorization: <api-key>'{
"name": "<string>",
"kind": "<string>",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"lastModified": "2023-11-07T05:31:56Z",
"status": {
"endpoint": "<string>",
"remote": "<string>",
"lastProcessedVersion": 123,
"expectedDeploymentVersion": 123,
"internal": {},
"ready": true,
"deploying": true,
"versions": [
{
"name": "<string>",
"created": "2023-11-07T05:31:56Z",
"workload": 123,
"gvc": 123,
"containers": {},
"ready": true,
"message": "<string>",
"zone": "<string>"
}
],
"jobExecutions": [
{
"workloadVersion": 123,
"status": "pending",
"startTime": "2023-11-07T05:31:56Z",
"completionTime": "2023-11-07T05:31:56Z",
"conditions": [
{
"status": "Unknown",
"type": "<string>",
"lastDetectionTime": "2023-11-07T05:31:56Z",
"lastTransitionTime": "2023-11-07T05:31:56Z",
"message": "<string>",
"reason": "<string>"
}
],
"name": "<string>",
"replica": "<string>",
"containers": {}
}
],
"message": "<string>"
}
}Service account key can be used as API keys
Success
64Show child attributes
Show child attributes
The version of the workload used during this job execution
The result of the job execution.
successful, failed, active, pending, invalid, removed, The time the job execution was first moved from pending to active. If the job execution was never pending, this is equivalent to the creation time of the job execution.
The time the job execution finished. This should not be interpreted as an indication of success. Please refer to the status field instead.
Show child attributes
The last time this condition was detected by Control Plane.
The last time this condition transitioned between states.
A concise explanation of the most recent state transition.
The name of the Job objects in kubernetes