Get Distribution Status Details by Tracker Id

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Get status details for a specific distribution.

Since: 1.0

Security: Authenticated users only. User must have read permission for the release bundle.

Usage: GET api/v1/release_bundle/:name/:version/distribution/:tracker_id

Request Headers: N/A

Consumes: N/A

cURL Example

$ curl -X GET -u user:password "http://ARTIFACTORY_SERVER_HOSTNAME:8082/distribution/api/v1/release_bundle/:name/:version/distribution/:tracker_id"

Response status codes:

200 - Success

Response headers: N/A

Produces: application/json

Response

{
  "distribution_id": 188527534551203840,
  "distribution_friendly_id": 1,
  "created_by":"[username]",
  "distributed_by":"[username]",
  "start_time":"[YYY-MM_DDTHH:HH:MM:SS.MI:Sec+UTF]",
  "finish_time":[YYY-MM_DDTHH:HH:MM:SS.MI:Sec+UTF],
  "type": "distribute | delete_release_bundle_version",
  "release_bundle_name": "release-bundle",
  "release_bundle_version": "1.0.0",
  "status": "Not distributed | In progress | Completed | Failed",
  "distribution_rules": [
    {
      "site_name": "*",
      "city_name": "*",
      "country_codes": ["*"]
    },
    ...
  ],
  "sites": [
    {
      "status": "Not distributed | In progress | Completed | Failed",
      "general_error": "<error explanation>",
      "target_artifactory": {
        "service_id": "jfrt@01cc8hkzy1zgtc1wqw3zk41p2a",
        "name": "US_NY_Art01",
        "type": "edge"
      },
      "total_files": 4,
      "total_bytes": 4403784,
      "distributed_bytes": 0,
      "distributed_files": 0,
      "general_error": "",
      "file_errors": [],
      "files_in_progress": []
    },
    ...
  ]
}