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 |
|---|---|---|
| integer | Optional. A limit on the number of pipelineSources returned. |
| integer | Optional. A cursor for use in pagination. |
| string | Optional. A filter on the list based on the |
| string | Optional. A filter on the list based on the |
| string | Optional. A filter on the list based on the |
| string | Optional. Only pipielineSources with repositoryFullName/branch matching one of the comma-separated patterns will be returned. |
| 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