List all package pipelines
GET
/api/v4/projects/{id}/packages/{package_id}/pipelines
Lists all pipelines for a specified package. The results are sorted by id in descending order. The results are paginated and return up to 20 records per page. This feature was introduced in GitLab 16.1.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Query Parameters
Section titled “ Query Parameters ” page
integer
Current page number
Example
1 per_page
integer
Number of items per page
Example
20 cursor
string
Cursor for obtaining the next set of records
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
iid
integer
project_id
integer format: int64
sha
string
ref
string
status
string
source
string
created_at
string format: date-time
updated_at
string format: date-time
web_url
string
user
object
id
integer format: int64
username
string
public_email
string
name
string
state
string
locked
boolean
avatar_url
string
avatar_path
string
custom_attributes
Array<object>
object
key
string
value
string
web_url
string
Example
{ "id": 1, "iid": 2, "project_id": 3, "sha": "0ec9e58fdfca6cdd6652c083c9edb53abc0bad52", "ref": "feature-branch", "status": "success", "source": "push", "created_at": "2022-10-21T16:49:48.000+02:00", "updated_at": "2022-10-21T16:49:48.000+02:00", "web_url": "https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61", "user": { "id": 1, "username": "admin", "public_email": "john@example.com", "name": "Administrator", "state": "active", "avatar_url": "https://gravatar.com/avatar/1", "avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png", "custom_attributes": [ { "key": "foo", "value": "bar" } ], "web_url": "https://gitlab.example.com/root" }}Bad Request
Unauthorized
Forbidden
Not Found