Override Resource Definition in an Environment
Facets Deployment Controller API: POST endpoint to override a resource definition in an environment, applying JSON overrides by cluster, type, and name.
Authorization
basicAuth AuthorizationBasic <token>
In: header
Path Parameters
clusterId*string
resourceName*string
resourceType*string
Query Parameters
doSync?boolean
Default
truechangeAffectedResources?boolean
Default
falseRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://facetsdemo.console.facets.cloud/cc-ui/v1/clusters/string/resourceType/string/resourceName/string/overrides" \ -H "Content-Type: application/json" \ -d '{ "resourceName": "string", "resourceType": "string" }'{
"changeLog": "string",
"commitId": "string",
"createdBy": "string",
"creationDate": "2019-08-24T14:15:22Z",
"id": "string",
"lastModifiedBy": "string",
"lastModifiedDate": "2019-08-24T14:15:22Z",
"overrides": {
"property1": {},
"property2": {}
},
"resourceName": "string",
"resourceType": "string",
"versioningKey": "string"
}{
"approvalUrl": "string",
"code": "string",
"errorCode": "string",
"message": "string",
"missingPermissions": [
"string"
]
}"string"{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}Enable/Disable Resources in an Environment
Facets Deployment Controller API: PUT endpoint to enable or disable resources in an environment cluster, toggling each resource by type and name.
Trigger a Selective release
Facets Deployment Controller API: POST endpoint to trigger a selective release, deploying only the chosen application resources in an environment cluster.