GetRepoList
Description
call GetRepoList to query the information of the warehouse list.
Request Method
POST
Request Path
/apsara/route/cr/GetRepoList
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Status | BODY | string | Yes | No sample value for this parameter. | warehouse status |
RepoNamePrefix | BODY | string | Yes | No sample value for this parameter. | warehouse name prefix |
PageSize | BODY | integer | No | No sample value for this parameter. | number of records displayed per page |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Page | BODY | integer | No | No sample value for this parameter. | current page |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
summary | string | no demo value | summary information |
repoId | long | no demo value | warehouse unique ID |
gmtModified | long | no demo value | modification time |
repoNamespace | string | no demo value | name of namespace where the repository is located |
repoName | string | no demo value | warehouse name |
pageSize | integer | no demo value | number of records displayed per page |
gmtCreate | long | no demo value | creation time |
repoBuildType | string | no demo value | warehouse build type |
repoType | string | no demo value | warehouse type |
total | integer | no demo value | Total number of records |
repoDomainList | array | no demo value | warehouse domain name list |
regionId | string | no demo value | area |
repoStatus | string | no demo value | warehouse status |
page | integer | no demo value | current page |
repoAuthorizeType | string | no demo value | warehouse permissions |
Example
Successful Response example
{
"summary":"no demo value",
"repoId":"no demo value",
"gmtModified":"no demo value",
"repoNamespace":"no demo value",
"repoName":"no demo value",
"pageSize":"no demo value",
"gmtCreate":"no demo value",
"repoBuildType":"no demo value",
"repoType":"no demo value",
"total":"no demo value",
"repoDomainList":"no demo value",
"regionId":"no demo value",
"repoStatus":"no demo value",
"page":"no demo value",
"repoAuthorizeType":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}