Get Unavailable Mirrors

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Gets a list of unsynchronized Federated mirrors from all repositories. Mirrors are unsynchronized when they are first added to the federation, during repository migration from local to Federated, and when a certain error threshold is crossed.

Since: Artifactory 7.49.3

Security: Requires an admin user.

Usage: GET api/federation/status/unavailableMirrors

Sample Request:

GET api/federation/status/unavailableMirrors

The response displays the following information:

Sample Response:

[
    {
        "localRepoKey" :  "example-repo-local" ,
        "remoteUrl" :  "http://docker.for.mac.localhost:10104/artifactory/" ,
        "remoteRepoKey" :  "test3-repo" ,
        "status" :  "OUT_OF_SYNC"
    }
]

The response displays the following information:

Property

Description

localRepoKey

The name of the local repository.

remoteUrl

The URL of the Federation mirror.

remoteRepoKey

The name of the repository on the Federation mirror.

status

Returns all mirrors that are not in a SYNC status.