Obtaining the List of Automatic Image Synchronization Tasks
Function
Obtain the list of automatic image synchronization tasks.
URI
GET /v2/manage/namespaces/{namespace}/repos/{repository}/sync_repo
Table 1 describes the parameters.
Request
Response
- Response parameters
Table 2 Response body parameter description Parameter
Type
Description.
[Array element]
Array of objects
Obtaining the list of automatic image synchronization tasks.
Table 3 [Array element] parameters description Parameter
Type
Description
createdAt
String
Creation time.
domainID
String
Account ID.
domainName
String
Account name.
id
Integer
Task ID.
namespace
String
Organization name.
override
Boolean
Whether to overwrite.
remoteNamespace
String
Target organization.
remoteRegionId
String
Target region.
repoName
String
Image repository name.
syncAuto
Boolean
Whether automatic synchronization is enabled.
updatedAt
String
Update time.
- Example response
[ { "createdAt": "2020-04-17T02:11:03.53183Z", "domainID": "8b1e81************************633fb", "domainName": "p*********59", "id": 1364, "namespace": "group", "override": true, "remoteNamespace": "sdsad", "remoteRegionId": "region-1", "repoName": "busybox", "syncAuto": true, "updatedAt": "2020-04-17T02:11:03.531831Z" } ]
Status Code
Status Code |
Description |
---|---|
200 |
Request successful. |
400 |
Request error. |
401 |
Authentication failed. |
404 |
The organization or the repository does not exist. |
500 |
Internal error. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.