Get all Pipeline Sources

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Gets a collection of pipeline sources that the credential has access to. Filter criteria can be supplied via query string parameters.

Security: Requires a valid user

Usage: GET api/v1/pipelinesources

Query Parameters:

Parameter

Data Type

Description

limit

integer

Optional. A limit on the number of pipelineSources returned.

skip

integer

Optional. A cursor for use in pagination. skip defines the number of pipelineSources skipped.

pipelineSourceIds

string

Optional. A filter on the list based on the is that the pipelineSource belongs to. Expects a comma separated list of ids.

projectIds

string

Optional. A filter on the list based on the projectId that the pipelineSource belongs to. Expects a comma separated list of projectIds.

projectIntegrationIds

string

Optional. A filter on the list based on the projectIntegrationId that the pipelineSource belongs to. Expects a comma separated list of projectIntegrationIds.

includeNamesPattern

string

Optional. Only pipielineSources with repositoryFullName/branch matching one of the comma-separated patterns will be returned.

excludeNamesPattern

string

Optional. Only pipielineSources with repositoryFullName/branch not matching any of the comma-separated patterns will be returned.

Produces: application/json

Sample Response:

GET api/v1/pipelinesources
[
  {
    "id": 0,
    "projectId": 0,
    "projectIntegrationId": 0,
    "repositoryFullName": "string",
    "isMultiBranch": true,
    "branch": "string",
    "branchExcludePattern": "string",
    "branchIncludePattern": "string",
    "fileFilter": "string",
    "isSyncing": true,
    "lastSyncStatusCode": 0,
    "lastSyncStartedAt": "2020-06-01T20:27:09.165Z",
    "lastSyncEndedAt": "2020-06-01T20:27:09.165Z",
    "lastSyncLogs": "string",
    "resourceId": 0,
    "createdBy": "string",
    "updatedBy": "string"
  }
]

Response Codes:

200: Success