Get Distribution Status Details by Release Bundle v1 Name

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Get status details for all distributions of all versions of a Release Bundle v1.

Since: 1.0

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

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

Request Headers: N/A

Consumes: N/A

cURL Example

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

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": []
      },
      ...
    ]
  },
  ...
]