Unarchive an entity
PUT/api/v1/catalog/:tagOrId/unarchive
Unarchive an entity
Request
Path Parameters
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
Responses
- 200
- 404
Successfully unarchived entity
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Description of the entity visible in the Service, Resource, or Domain Catalog. Markdown is supported.
git
object
Metadata about the entity's git repository
Custom defined alias (this is only relevant if you have opted into multi account support)
If the entity is in a monorepo (e.g. in a subdirectory), this field defines the subdirectory
Name of the Git provider
Repository name as defined in your Git provider
URL of the Git repository
Corresponds to the x-cortex-groups field in the Catalog Descriptor
hierarchy
object
required
Hierarchy details for the entity. Includes both the parent & the children chains.
children
object[]
required
Nested children chain for the specific entity.
children
object
required
Child at the current depth, and its children.
List of groups for this node. Only included if includeHierarchyFields contains groups
List of groups for this node. Only included if includeHierarchyFields contains groups
parents
object[]
required
Nested parent chain for the specific entity.
List of groups for this node. Only included if includeHierarchyFields contains groups
parents
object
required
Parent at the current depth, and its parents.
List of groups for this node. Only included if includeHierarchyFields contains groups
Unique, immutable, 18-character auto-generated identifier for the entity.
Last updated ISO timestamp
links
object[]
required
Relevant links for the entity. Corresponds to the x-cortex-links field in the entity descriptor
An optional description of the link
Human-readable name for the link visible in the Catalog
Corresponds to the type field in a link definition provided in the Catalog Descriptor
metadata
object[]
required
Custom data key/values associated with the entity
The custom data key, referred to in CQL as custom("key")
Human-readable name for the entity
ownersV2
object
Entity owners information
individuals
object[]
required
Description of the email owner
teams
object[]
required
Description of the team entity
Unique, immutable, 18-character auto-generated identifier for the team entity
Possible values: [APPEND
, FALLBACK
, NONE
]
Inheritance type, only defined for domain entities
Human-readable name for the team entity
Possible values: [ACTIVE_DIRECTORY
, BAMBOO_HR
, CORTEX
, GITHUB
, GITLAB
, GOOGLE
, OKTA
, OPSGENIE
, WORKDAY
, SERVICE_NOW
]
If defined, indicates which ownership provider the slug references
Unique identifier for the team entity. Corresponds to the x-cortex-tag field in the entity descriptor
ownership
object
required
emails
object[]
required
Description of this owner defined in the Catalog Descriptor, not to be confused with the description of the team in the Team pages
Possible values: [APPEND
, FALLBACK
, NONE
]
Inheritance type, only defined for domain entities
groups
object[]
required
List of IdP or Cortex Teams (not to be confused with the x-cortex-groups).
Description of this owner defined in the Catalog Descriptor. Not to be confused with the description of the team in the Team pages.
The slug for the group as defined in the ownership provider. For example, the org/team for GitHub teams or the team tag for Cortex Teams
Possible values: [APPEND
, FALLBACK
, NONE
]
Inheritance type, only defined for domain entities
Possible values: [ACTIVE_DIRECTORY
, BAMBOO_HR
, CORTEX
, GITHUB
, GITLAB
, GOOGLE
, OKTA
, OPSGENIE
, WORKDAY
, SERVICE_NOW
]
If defined, indicates which ownership provider the slug references
slackChannels
object[]
required
deprecated
Use the top-level slackChannels
field instead of the one nested inside ownership
The Slack channel identifier without the preceding #
Description of this owner defined in the Catalog Descriptor. Not to be confused with the description of the team in the Team pages.
Possible values: [APPEND
, FALLBACK
, NONE
]
Inheritance type, only defined for domain entities
Refers to the corresponding field in the Catalog Descriptor. This is meant to be used for your automation purposes and does not actually impact the notification behavior in Cortex.
slackChannels
object[]
required
Description of the Slack channel
Name of the Slack channel
Whether notifications are enabled for this channel
Unique identifier for the entity. Corresponds to the x-cortex-tag field in the entity descriptor.
Type of the entity. Corresponds to the x-cortex-type field in the entity descriptor or 'service' for services.
{
"definition": {},
"description": "string",
"git": {
"alias": "string",
"basepath": "string",
"provider": "github",
"repository": "string",
"repositoryUrl": "string"
},
"groups": [
"string"
],
"hierarchy": {
"children": [
{
"children": {
"definition": {},
"description": "string",
"groups": [
"string"
],
"id": "string",
"name": "string",
"tag": "string",
"type": "string"
},
"definition": {},
"description": "string",
"groups": [
"string"
],
"id": "string",
"name": "string",
"tag": "string",
"type": "string"
}
],
"parents": [
{
"definition": {},
"description": "string",
"groups": [
"string"
],
"id": "string",
"name": "string",
"parents": {
"definition": {},
"description": "string",
"groups": [
"string"
],
"id": "string",
"name": "string",
"tag": "string",
"type": "string"
},
"tag": "string",
"type": "string"
}
]
},
"id": "en2da8159dbeefb974",
"isArchived": true,
"lastUpdated": "2024-07-29T15:51:28.071Z",
"links": [
{
"description": "string",
"name": "string",
"type": "string",
"url": "string"
}
],
"metadata": [
{
"key": "string",
"value": {}
}
],
"name": "My Favorite Entity",
"ownersV2": {
"individuals": [
{
"description": "Product manager",
"email": "string"
}
],
"teams": [
{
"description": "This is my team",
"id": "en2da8159dbeefb974",
"inheritance": "APPEND",
"isArchived": true,
"name": "My Favorite Team",
"provider": "ACTIVE_DIRECTORY",
"tag": "my-favorite-team-entity"
}
]
},
"ownership": {
"emails": [
{
"description": "string",
"email": "string",
"inheritance": "APPEND"
}
],
"groups": [
{
"description": "string",
"groupName": "cortexapps/engineering",
"inheritance": "APPEND",
"provider": "ACTIVE_DIRECTORY"
}
]
},
"slackChannels": [
{
"description": "This is the engineering channel",
"name": "engineering",
"notificationsEnabled": true
}
],
"tag": "my-favorite-entity",
"type": "service"
}
Entity not found
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [INTEGRATION_MISSING
, INTEGRATION_UNREGISTERED
, INTEGRATION_UNSUPPORTED
, INTEGRATION_GRAPHQL_ERROR
, INTEGRATION_BAD_REQUEST
, INTEGRATION_UNAUTHORIZED
, INTEGRATION_FORBIDDEN
, INTEGRATION_NOT_FOUND
, INTEGRATION_UNPROCESSABLE_CONTENT
, INTEGRATION_RATE_LIMITED
, INTEGRATION_INTERNAL_ERROR
, INTEGRATION_NOT_IMPLEMENTED
, INTEGRATION_BAD_GATEWAY
, INTEGRATION_UNAVAILABLE
, INTEGRATION_GATEWAY_TIMEOUT
, INTEGRATION_TIMED_OUT
, INTEGRATION_CACHE_ERROR
, INTEGRATION_UNHANDLED_HTTP_ERROR
, INTEGRATION_UNHANDLED_EXCEPTION
, INTEGRATION_UNEXPECTED_ERROR
, ILLEGAL_ARGUMENT_ERROR
, BAD_REQUEST
, FORBIDDEN
, NOT_FOUND
, REQUEST_TIMEOUT
, CONFLICT
, UNHANDLED_EXCEPTION
, UNCATEGORIZED
, SERVICE_CREATOR
, UNKNOWN_HOST
]
{
"details": "string",
"gatewayHttpStatus": 0,
"httpStatus": 0,
"message": "string",
"requestId": "string",
"type": "INTEGRATION_MISSING"
}