Pipelines
Return a list of pipelines to a resource
GET
resource_id*integerThe resource ID.
Range
1 <= valueresource_type*stringThe resource type to get pipelines from.
page?integerNumber of the page to be retrieved
Range
1 <= valueper_page?integerNumber of items returned per page
Range
1 <= value <= 100Accept*stringapplication/json
Content-Type*stringapplication/json
Ok
application/json- response
[index: integer]?|nullcurl -X GET 'https://api.devopness.com/pipelines/application/123?page=1&per_page=25' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <your_api_token>' \ -H 'Content-Type: application/json'Example Response200
[ { "id": 342390, "name": "My pied piper-line", "environment_id": 4532342, "project_id": 97063242, "organization_id": 5324234, "resource_type": "application", "resource_type_human_readable": "Application", "resource_id": 5324234, "operation": "deploy", "operation_human_readable": "Deploy", "max_parallel_actions": 1, "trigger_when": { "conditions": [ { "name": "Check pullrequest author", "type": "request_body", "path": "pullrequest.author.nickname", "accepted_values": [ "myuser123", "bu_nick456" ] } ] }, "created_by_user": { "id": 1, "name": "string", "email": "user@example.com", "url_slug": "someone", "language": "en", "active": true, "created_at": "2019-09-25T15:50:48.000000Z", "updated_at": "2019-09-25T13:52:04.000000Z" }, "created_at": "2022-09-26T15:30:31.000000Z", "updated_at": "2022-09-26T15:30:58.000000Z" }]