Description: Returns the synchronization state of all Federated repositories in the JPD.
Security: Requires Admin permissions
Usage: GET /artifactory/api/federation/state
Query Parameters (optional): {none}
Request Body: {none}
Sample Response:
[ { "localRepoKey" : "generic-fed-a" , "status" : "OUT_OF_SYNC" "members" : [ { "remoteUrl" : "http://docker.for.mac.localhost:10104/artifactory/" , "remoteRepoKey" : "generic-fed-a" , }, { "remoteUrl" : "http://docker.for.mac.localhost:10105/artifactory/" , "remoteRepoKey" : "generic-fed-a" , } ] } , { "localRepoKey" : "generic-fed-b" , "status" : "DISABLED" "members" : [] } , { "localRepoKey" : "generic-fed-c" , "status" : "FULL_SYNC_RUNNING" "members" : [ { "remoteUrl" : "http://docker.for.mac.localhost:10104/artifactory/" , "remoteRepoKey" : "generic-fed-c" , }, ] } , ]
The response includes the following information:
Property | Description |
---|---|
| The unique key of the local repository. |
| The current synchronization status:
|
| Includes the following properties:
|
Status Codes:
Code | Description |
---|---|
200 | Success |
401 | Bad Credentials |
403 | Permission Denied |