Update CI config
PUThttps://api.cloud.codenow.com/applications/:applicationId/components/:componentId/ci-config
The operation allows you to update CI config of a specific application component and branch.
Request
Path Parameters
applicationId stringrequired
Possible values: non-empty
componentId stringrequired
Possible values: non-empty
Query Parameters
branch stringrequired
Possible values: non-empty
Header Parameters
X-Codenow-Api-Key anyrequired
CodeNOW API Key
- application/vnd.codenow.v1+json
Body
required
advancedMode
object
build
object
runtime
object
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
CI config detail
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: non-empty
{
"status": "string"
}
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.
- curl
- nodejs
- csharp
- java
- CURL
curl -L -X PUT 'https://api.cloud.codenow.com/applications/:applicationId/components/:componentId/ci-config' \
-H 'Content-Type: application/vnd.codenow.v1+json' \
-H 'Accept: application/vnd.codenow.v1+json' \
-d '{
"advancedMode": {
"enabled": true
},
"build": {
"image": "string",
"environmentVariables": [
{
"name": "string",
"value": "string"
}
],
"pipelines": {
"preview": "string",
"release": "string"
}
},
"runtime": {
"image": "string",
"port": "string",
"endpoints": {
"external": {
"enabled": true
}
},
"java": {
"jvmParameters": "string"
}
}
}'
ResponseClear