Collection
Last updated
Was this helpful?
Last updated
Was this helpful?
Create a collection
/orgs/{org_id}/collections
Org ID
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Return a list of organization's collections with issues counts and projects count.
/orgs/{org_id}/collections
Org ID
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Number of results to return per page
10
Return collections sorted by the specified attributes
name
, projectsCount
, issues
Return collections sorted in the specified direction
ASC
, DESC
Return collections which names include the provided string
Return collections where is_generated matches the provided boolean
Edit a collection
/orgs/{org_id}/collections/{collection_id}
Org ID
Unique identifier for a collection
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Get a collection
/orgs/{org_id}/collections/{collection_id}
Org ID
Unique identifier for a collection
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Delete a collection
/orgs/{org_id}/collections/{collection_id}
Org ID
Unique identifier for a collection
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
No body
Add projects to a collection by specifying an array of project ids
/orgs/{org_id}/collections/{collection_id}/relationships/projects
Org ID
Unique identifier for a collection
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
IDs of items to add to a collection
No body
Return a list of organization's projects that are from the specified collection.
/orgs/{org_id}/collections/{collection_id}/relationships/projects
Org ID
Unique identifier for a collection
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Number of results to return per page
10
Return projects sorted by the specified attributes
imported
, last_tested_at
, issues
Return projects sorted in the specified direction
ASC
, DESC
Return projects that belong to the provided targets
Return projects that are with or without issues
Return projects that match the provided integration types
Remove projects from a collection by specifying an array of project ids
/orgs/{org_id}/collections/{collection_id}/relationships/projects
Org ID
Unique identifier for a collection
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
IDs of items to remove from a collection
No body