config
Publish API backend or website backend changes.
Changed onpost/api-umbrella/v1/config/publish
Request
- The document declares no server URL.
- Auth
- API key in header X-Api-Key
- or API key in header X-Admin-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"config": {
"apis": {
"uuid_of_api_backend": {
"publish": "1"
},
"uuid_of_additional_api_backend": {
"publish": "0"
}
},
"website_backends": {
"uuid_of_website_backend": {
"publish": "0"
},
"uuid_of_additional_website_backend": {
"publish": "1"
}
}
}
}Response
Successfully published changes
Changes
- info
endpoint added
- info