Catalog Entities
Create or update entity
Changed onCreate 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.
post/api/v1/open-api
Request
- Base URLhttps://api.getcortexapp.com
- URLhttps://api.getcortexapp.com/api/v1/open-api
- AuthHTTP bearer
Query parameters
dryRunboolean
When true, this endpoint only validates the descriptor contents and returns any errors or warnings.
githubPullRequestinteger
Add a comment with validation errors on the pull request with the given ID
mode'UPSERT' | 'CREATE'
Mode of operation: UPSERT (default) creates or updates existing entity, CREATE fails if entity already exists.
asyncUpdateWaitTimeMsinteger
Maximum time (milliseconds) to wait for asynchronous property updates. Default is zero.
Request body application/openapi;charset=UTF-8
string required
Response
Indicates that the entity was accepted and processed successfully
Changes
- info
endpoint added
- info