Register or publish the champion model of the automation project

put/projects/{projectId}/models/@championModel
Internal-Use Only

Register or publish the automation project's champion model.

Request Samples

1

Response Samples

1{
2 "json": {
3 "$ref": "#/components/examples/registerChampionModelResponse"
4 }
5}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

projectId

Query Parameters

NameTypeRequiredDescription
destinationName
string
false

The destination of register or publish action. Optional for register but required for publish.

action
string
true

The action applied to a champion model, such as register or publish.

Allowed values:
registerpublish

Responses

StatusMeaningDescription
200OKThe specified action was performed on the champion model.HeadersSchema
400Bad RequestThe action is not supported.Schema
404Not FoundNo automation project with the provided entity ID or its champion model was found.Schema