Get a Pipeline Sync Status

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Gets a pipeline sync status based on Id.

Security: Requires admin credentials

Usage: GET api/v1/pipelineSyncStatuses/{pipelineSyncStatusId}

Produces: application/json

URL Parameters:

Parameter

Type

Description

pipelineSyncStatusId

Integer

The numeric id of thepipelineSyncStatusbeing requested.

Query Parameters: Ignored

Request Parameters: Ignored

Sample Response:

{
    "id": 1,
    "projectId": 1,
    "pipelineSourceId": 1,
    "pipelineSourceBranch": null,
    "isSyncing": false,
    "lastSyncStatusCode": 4002,
    "lastSyncStartedAt": "2019-10-09T04:17:34.690Z",
    "lastSyncEndedAt": "2019-10-09T04:17:41.221Z",
    "lastSyncLogs": "Successfully synced pipeline source\n\nSUMMARY:\n\nCreated 1 resources\nCreated 1 pipelines\nCreated 1 steps\n\nDETAILS:\n\npipelines.yml: successfully created resource: myAppRepo\npipelines.yml: successfully created pipeline: pipeline_hello_world\npipelines.yml: successfully created step: step_1\nSuccessfully created connection between step: step_1 and myAppRepo",
    "createdAt": "2019-10-09T04:17:34.704Z",
    "updatedAt": "2019-10-09T04:17:41.234Z"
  }

Response Codes:

200: Success

404: IfpipelineSyncStatusIdis not an integer

404: If there is nopipelineSyncStatusfound with that id