Create or update entity
Create a catalog entity using a descriptor YAML. By default (UPSERT mode), if the entity already exists (as referenced by the x-cortex-tag), this API will update the existing entity. In CREATE mode, the API will fail if the entity already exists.
Authorizations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Query Parameters
When true, this endpoint only validates the descriptor contents and returns any errors or warnings.
Add a comment with validation errors on the pull request with the given ID
Mode of operation: UPSERT (default) creates or updates existing entity, CREATE fails if entity already exists.
UPSERT, CREATE Maximum time (milliseconds) to wait for asynchronous property updates. Default is zero.
Body
Raw text of the YAML
See examples of cortex.yaml files for each entity type here
The body is of type string.