Promote Route
POST
/v1/templates/forge/jobs/{job_id}/promote
const url = 'http://localhost:8080/v1/templates/forge/jobs/example/promote';const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/v1/templates/forge/jobs/example/promote \ --header 'Content-Type: application/json' \ --data '{}'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” job_id
required
Job Id
string
Request Body required
Section titled “Request Body required ” Media type application/json
Payload
object
key
additional properties
any
Example generated
{}Responses
Section titled “ Responses ”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>
ValidationErrorobject
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": {} } ]}