Jobs
Entity fields:
Path
Type
Description
Example:
{
"data": {
"type": "job",
"attributes": {
"overrideBranch": "main"
"templateReference": "XXXXXXXXX"
},
"relationships":{
"workspace":{
"data":{
"type": "workspace",
"id": "{{workspaceId}}"
}
}
}
}
}Supported Operations
post
Creates an item of type job and adds it to job
Path parameters
organizationIdstringRequired
organization Identifier
Body
Responses
201
Successful response
application/vnd.api+json
post/organization/{organizationId}/job
201
Successful response
get
Returns an instance of type job
Path parameters
organizationIdstringRequired
organization Identifier
jobIdstringRequired
job Identifier
Query parameters
Responses
200
Successful response
application/vnd.api+json
get/organization/{organizationId}/job/{jobId}
200
Successful response
patch
Modifies an instance of type job
Path parameters
organizationIdstringRequired
organization Identifier
jobIdstringRequired
job Identifier
Body
Responses
204
Successful response
No content
patch/organization/{organizationId}/job/{jobId}
204
Successful response
No content
delete
Deletes an instance of type job
Path parameters
organizationIdstringRequired
organization Identifier
jobIdstringRequired
job Identifier
Responses
204
Successful response
No content
delete/organization/{organizationId}/job/{jobId}
204
Successful response
No content
Last updated
Was this helpful?