Queries the detailed information about a repository.
Debugging
OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.
Request information
Request line
GET /repos/[RepoNamespace]/[RepoName] HTTP/1.1
Request line parameters
Parameter | Type | Required | Description |
---|---|---|---|
RepoNamespace | String | Yes | The name of the namespace. |
RepoName | String | Yes | The name of the repository. |
Operation-specific request headers
None.
Request body
None.
Response information
Response line
HTTP/1.1 200 OK
Operation-specific response headers
None.
Response body
{
"data":{
"repo": {
"summary": String,
"repoId": Long,
"gmtCreate": Long,
"gmtModified": Long,
"repoNamespace": String,
"repoName": String,
"repoBuildType": String,
"repoType": String,
"repoDomainList": {
"public": String,
"vpc": String
},
"regionId": String,
"repoStatus": String,
"detail": String,
"repoAuthorizeType": String
}
},
"requestId": string
}
Response body parameters
Parameter | Type | Description |
---|---|---|
summary | String | The summary of the repository. |
gmtCreate | Long | The time when the repository was created. |
gmtModified | Long | The time when the repository was modified. |
repoNamespace | String | The name of the namespace to which the repository belongs. |
repoName | String | The name of the repository. |
repoBuildType | String | Indicates how the repository was created. |
repoType | String | The type of repository. |
repoDomainList | Array | The domain names of the repository. |
regionId | String | The region where the repository is deployed. |
repoStatus | String | The status of the repository. |
detail | String | The detailed information about the repository. |
repoAuthorizeType | String | The permission type of the repository. |
Examples
Sample requests
GET /repos/[RepoNamespace]/[RepoName] HTTP/1.1
<Common request headers>
Sample responses
HTTP/1.1 200 OK
<Common response headers>
{
"data":{
"repo": {
"summary": "test",
"gmtCreate": 1524663834000,
"gmtModified": 1524663871000,
"repoNamespace": "test",
"repoName": "test",
"repoBuildType": "AUTO_BUILD",
"repoType": "PUBLIC",
"repoDomainList": {
"public": "registry.cn-hangzhou.aliyuncs.com",
"vpc": "registry-vpc.cn-hangzhou.aliyuncs.com"
},
"regionId": "cn-hangzhou",
"repoStatus": "NORMAL",
"detail": "",
"repoAuthorizeType": "ADMIN"
}
},
"requestId": "B21BE190-08BA-41B6-B8B5-CA4029F1CC58"
}