Update Container API config.
Update Container API config.
Sign in to run requests against the CDE API.
Authorization
oAuth2AuthCode AuthorizationBearer <token>
In: header
Path Parameters
publicId*string
Format
uuidconnectorVersion*string
Major version number as an integer
- For 1.0.5 use
1 - For 2.5.6 use
2
You can also use latest for the latest version, or main for the currently main released version.
Match
^main|latest|\d+$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://cde.staging.productsup.com/connectors/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/string/container-api-config" \ -H "Content-Type: application/json" \ -d '{ "environment-variables": [ "LOGS_RATE_LIMIT=50", "LOGS_MAX_NUMBER_OF_CALLS=10000", "LOGS_RATE_LIMIT_INTERVAL=10 seconds" ] }'{
"message": "Container API configuration updated."
}{
"message": "You have to be authorized to access this resource."
}{
"message": "Connector not found."
}How is this guide?
Enable container api for given connector version. PUT
If enabled, connector will use container api to interact with ProductsUp internals, such as reading files, writing logs etc.
Update container api to the latest version for given connector version. PUT
Update container api to the latest version for given connector version.