Get List of Failed Binary Tasks

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns a list of tasks that failed because Artifactory was not able to retrieve the binary of the task. The number of attempts that Artifactory tries to retrieve the binary of the task is set by maximum, which is 10 by default.

Since: 7.68.11

Security: Requires Admin permissions

Usage: GET api/federation/binaries/failures/list

Query Parameters:

Field

Type

Description

repoKey

string

The name of the repository. This parameter is required.

limit

integer

The number of tasks to be returned in the response. Default = 1000. This parameter is optional.

page

integer

The page number for a group of tasks, starting from 1. This parameter is optional.

Sample Request:

GET http://localhost:8082/artifactory/api/federation/binaries/failures/list?repoKey=fedrepo

Sample Response:

[
    {
        "sha1": "5c9449b779eae6c85b5d7b74c4c7d5c2fd0705ae",
        "repoKey": "fedrepo",
        "creationTime": 1694003288367,
        "failuresCount": 10
    }
]

The response includes the following information:

Property

Description

sha1

The SHA1 of the artifact.

repoKey

The name of the repository,

creationTime

The time at which the task was created.

failuresCount

The number of times that Artifactory attempted to process the task.