Container Service
Container

Fetch container details based on the filters passed.

1min
GET

API to get information of all containers of container type based on the filters specified.

HEADER/QUERY PARAMETERDESCRIPTIONTYPEVALIDATION
X-COREOS-REQUEST-ID*(header)Unique request ID.string
X-COREOS-TID *(header)Tenant ID.string
X-COREOS-ACCESS*(header)Core-OS access token.string
limit(query)Number of items to return.integerDefault value: 50
offset(query)The number of items to skip from start.integerDefault value: 0
select(query)Specifies the list of attributes to be included in the response. If not specified, all attributes are included in the response.array[string]Available values: name, isSystem, ㅤisActive, allowedOwner, ttl
query(query)Query criteria.objectㅤRefer following links for more details: ㅤ1. match ㅤ2. multi_match ㅤ3. term ㅤ4. terms ㅤ5. range ㅤ6. regexp ㅤ7. exists ㅤ8. fuzzy ㅤ9. prefix  10. wildcard  11. match_phrase  12. match_phrase_prefix
sortKey(query)Key to be used for sorting data.stringDefault value: createdAt
sortBy(query)Fetching data in ascending (asc) or descending (desc) order.stringAvailable values: desc, ascDefault value: desc
containerType*(query)Type of container.string
*This is required.
HTTP Status Code Summary
CodeDescription
200 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API key provided.
404 - Not FoundThe requested resource doesn't exist.
503 - Server ErrorSomething went wrong. (These are rare.)
Path Parameters
containerTypeName
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-USERINFO
Query Parameters
limit
offset
size
page
select
query
sortKey
sortBy
Responses
200
OK
data
request
400
Bad Request
error
request
401
Unauthorized
error
request
404
Not Found
error
request
503
Server Error
error
request
Curl
JS
Ruby
Python
Responses
200
400
401
404
503