Configs Commit
POSThttps://cloud.agenta.ai/api/variants/configs/commit
Configs Commit
Request
- application/json
Body
required
config
object
required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
params objectrequired
url
object
application_ref
object
service_ref
object
variant_ref
object
environment_ref
object
application_lifecycle
object
service_lifecycle
object
variant_lifecycle
object
environment_lifecycle
object
{
"params": {},
"url": "string",
"application_ref": {},
"service_ref": {},
"variant_ref": {},
"environment_ref": {},
"application_lifecycle": {},
"service_lifecycle": {},
"variant_lifecycle": {},
"environment_lifecycle": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detail
object[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
ResponseClear