Retrieve list of teams or team details
GET/api/v1/teams
Warning: This API can return team details if you pass in a teamTag query parameter. However, this should only be used to retrieve team details if your team identifier contains non-alphanumeric characters. Otherwise, use the standard API under Teams
-> Retrieve team details
. When retrieving team details, the response will be a single team entity instead of a list.
Note: the response objects can also include an idpGroup
or cortexTeam
field depending on whether the team contains a group
or only consists of individually defined members
.
Request
Query Parameters
Include teams without members
Team identifier
Responses
- 200
- 404
Object containing a list of teams
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
teams
object[]
required
links
object[]
required
metadata
object
required
slackChannels
object[]
required
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.
{
"teams": [
{
"catalogEntityTag": "string",
"isArchived": true,
"links": [
{
"description": "string",
"name": "string",
"type": "string",
"url": "string"
}
],
"metadata": {
"description": "string",
"name": "string",
"summary": "string"
},
"slackChannels": [
{
"channel": "string",
"description": "string",
"inheritance": "APPEND",
"notificationsEnabled": true
}
],
"teamTag": "string",
"type": "string"
}
]
}
Team 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"
}