Skip to content

Promote Route

POST
/v1/templates/forge/jobs/{job_id}/promote
curl --request POST \
--url http://localhost:8080/v1/templates/forge/jobs/example/promote \
--header 'Content-Type: application/json' \
--data '{}'
job_id
required
Job Id
string
Media type application/json
Payload
object
key
additional properties
any
Example generated
{}

Successful Response

Media type application/json
Response Promote Route V1 Templates Forge Jobs Job Id Promote Post
object
key
additional properties
any
Example generated
{}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}