ListContainerRepositories

GET {{baseUrl}}/container/repositories?compartmentIdInSubtree=true&compartmentId={{tenancy_ocid}}&limit=200&sortBy=TIMECREATED&sortOrder=DESC

List container repositories in a compartment.

Request Params

KeyDatatypeRequiredDescription
compartmentIdInSubtreebooleanWhen set to true, the hierarchy of compartments is traversed
and all compartments and subcompartments in the tenancy are
inspected depending on the the setting of accessLevel.
Default is false. Can only be set to true when calling the API
on the tenancy (root compartment).
compartmentIdstring(Required) The OCID of the compartment.
repositoryIdstringA filter to return container images only for the specified container repository OCID.
displayNamestringA filter to return only resources that match the given display name exactly.
isPublicbooleanA filter to return resources that match the isPublic value.
lifecycleStatestringA filter to return only resources that match the given lifecycle state name exactly.
limitnumberFor list pagination. The maximum number of results per page, or items to return in a paginated
"List" call. For important details about how pagination works, see
List Pagination.

Example: 50 | | page | string | | For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see List Pagination. | | sortBy | string | | The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.

Note: In general, some "List" operations (for example, ListInstances) let you optionally filter by availability domain if the scope of the resource type is within a single availability domain. If you call one of these "List" operations without specifying an availability domain, the resources are grouped by availability domain, then sorted. | | sortOrder | string | | The sort order to use, either ascending (ASC) or descending (DESC). The DISPLAYNAME sort order is case sensitive. |

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

{"imageCount":-33349808,"items":[{"compartmentId":"magna deserunt ipsum","displayName":"qui esse consequat eiusmod","id":"ex non dolor dolor","imageCount":88469518,"isPublic":false,"layerCount":-871751,"layersSizeInBytes":42094927,"lifecycleState":"est dolor","timeCreated":"1996-03-30T23:54:06.101Z","billableSizeInGBs":-4633767},{"compartmentId":"in est","displayName":"in","id":"elit","imageCount":33608595,"isPublic":false,"layerCount":-21163837,"layersSizeInBytes":94369386,"lifecycleState":"Excepteur proident esse tempor","timeCreated":"1992-11-13T13:53:14.815Z","billableSizeInGBs":-40408524}],"layerCount":-80183792,"layersSizeInBytes":-58683394,"remainingItemsCount":-69330550,"repositoryCount":72077748}