Skip to main content
GET
List bundles
GET//
Retrieve an array of bundles. This endpoint supports sorting and pagination.

URL query parameters

Response body

Sample response body

JSON

Authorizations

Authorization
string
header
required

Token used to verify user identity and also authorize user to use service

Query Parameters

count
integer
default:5

Number of bundles resources to retrieve.

Required range: 1 <= x <= 100
start_index
integer
default:0

Sort order index of the first resource in the returned array.

Required range: x >= 0
sort_by
enum<string>
default:-lastModifiedTime

Field on which to sort. Prefix the field name with a hyphen (-) to sort in descending order. Omit the hyphen to sort in ascending order.

NOTE: You must sort using system field names such as lastModifiedTime, not by the field names appearing in response bodies: for example, last_modified_time.

Available options:
lastModifiedTime,
-lastModifiedTime
status
enum<string>[]

An array of statuses by which to filter bundles.

Status of the bundle.

  • DRAFT - The bundle is in the process of being created.
  • PENDING_APPROVAL - The bundle has been created and is awaiting approval.
  • SENT_FOR_REVISION - The bundle has been returned for revision.
  • ACTIVE - The bundle is active.
  • REJECTED - The bundle has been rejected; this status cannot be changed.
  • ARCHIVED - The previously active bundle has been archived.
  • APPROVED - The bundle has been approved (after having been sent for approval).
Available options:
DRAFT,
PENDING_APPROVAL,
SENT_FOR_REVISION,
ACTIVE,
REJECTED,
ARCHIVED,
APPROVED

Response

Expected response to a valid request.

Returns paginated bundles.

data
object[]
required

Contains one or more bundles.

count
integer
required

Number of resources returned.

is_more
boolean
required

A value of true indicates that more unreturned resources exist.

end_index
integer
required

Sort order index of the last resource in the returned array.

start_index
integer
required

Sort order index of the first resource in the returned array.