Create or patch entity
Changed onCreates 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
- Base URLhttps://api.getcortexapp.com
- URLhttps://api.getcortexapp.com/api/v1/open-api
- AuthHTTP bearer
Query parameters
When true, this endpoint only validates the descriptor contents and returns any errors or warnings.
Delete keys with this value from the merged yaml, e.g. __delete__, if any values match this, they will not be included in merged YAML. For example my_value: __delete__ will remove my_value from the merged YAML.
Default merge behavior is to replace arrays, set this to true to append arrays instead. For simple types, duplicate values will be removed from the merged array.
Default behavior is to upsert the entity, set failIfEntityDoesNotExist=true to fail (404) if the entity specified in x-cortex-tag does not exist.
Maximum time (milliseconds) to wait for asynchronous property updates. Default is zero.
Request body application/openapi;charset=UTF-8
Response
Indicates that the entity body was accepted, and the referenced x-cortex-tag existed and patched successfully
Changes
- info
endpoint added
- info