Create or patch entity
PATCH/api/v1/open-api
Creates or updates an entity using OpenAPI. If the YAML refers to an entity that already exists (as referenced by the x-cortex-tag
), this API will merge the specified changes into the existing entity.
Request
Responses
- 200
- 201
- 400
- 404
- 429
Indicates that the entity body was accepted, and the referenced x-cortex-tag
existed and patched successfully
Indicates that the entity body was accepted, and the referenced x-cortex-tag
did not exist and was created successfully
Invalid YAML (major errors or incorrectly formatted YAML)
Specified entity does not exist (when failIfDoesNotExist is set to true)
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Response Headers
Retry-After
The number of seconds until the rate limiting resets.