Returns the specified ecr registry
GEThttps://api.spectrocloud.com/v1/registries/oci/:uid/ecr
Returns the specified ecr registry
Request
Path Parameters
uid stringrequired
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
kindstring
metadata
object
spec
object
{
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-02T20:32:03.013Z",
"deletionTimestamp": "2024-07-02T20:32:03.013Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-02T20:32:03.013Z",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"credentials": {
"accessKey": "string",
"credentialType": "secret",
"partition": "aws",
"policyARNs": [
"string"
],
"secretKey": "string",
"sts": {
"arn": "string",
"externalId": "string"
}
},
"defaultRegion": "string",
"endpoint": "string",
"isPrivate": true,
"scope": "string"
}
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/registries/oci/:uid/ecr' \
-H 'Accept: application/json'