Retrieves a page of items in a folder. These items can be files, folders, and web links.
To request more information about the folder itself, like its size, use the Get a folder endpoint instead.
The access token received from the authorization server in the OAuth 2.0 flow.
The URL, and optional password, for the shared link of this item.
This header can be used to access items that have not been explicitly shared with a user.
Use the format shared_link=[link] or if a password is required then
use shared_link=[link]&shared_link_password=[password].
This header can be used on the file or folder shared, as well as on any files or folders nested within the item.
The unique identifier that represent a folder.
The ID for any folder can be determined
by visiting this folder in the web application
and copying the ID from the URL. For example,
for the URL https://*.app.box.com/folder/123
the folder_id is 123.
The root folder of a Box account is
always represented by the ID 0.
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Additionally this field can be used to query any metadata
applied to the file by specifying the metadata field as well
as the scope and key of the template to retrieve, for example
?fields=metadata.enterprise_12345.contractTemplate.
Specifies whether to use marker-based pagination instead of offset-based pagination. Only one pagination method can be used at a time.
By setting this value to true, the API will return a marker field
that can be passed as a parameter to this endpoint to get the next
page of the response.
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
This requires usemarker to be set to true.
The offset of the item at which to begin the response.
Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
The maximum number of items to return per page.
x <= 1000Defines the second attribute by which items are sorted.
The folder type affects the way the items are sorted:
Standard folder:
Items are always sorted by
their type first, with
folders listed before files,
and files listed
before web links.
Root folder: This parameter is not supported for marker-based pagination on the root folder
(the folder with an id of 0).
type first, with
folders listed before files,
and files listed
before web links.id, name, date, size The direction to sort results in. This can be either in alphabetical ascending
(ASC) or descending (DESC) order.
ASC, DESC Returns a collection of files, folders, and web links contained in a folder.
A list of files, folders, and web links in their mini representation.
The limit that was used for these entries. This will be the same as the
limit query parameter unless that value exceeded the maximum value
allowed. The maximum value varies by API.
1000
The marker for the start of the next page of results.
"JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
The marker for the start of the previous page of results.
"JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih"
One greater than the offset of the last entry in the entire collection.
The total number of entries in the collection may be less than
total_count.
This field is only returned for calls that use offset-based pagination. For marker-based paginated APIs, this field will be omitted.
5000
The 0-based offset of the first entry in this set. This will be the same
as the offset query parameter.
This field is only returned for calls that use offset-based pagination. For marker-based paginated APIs, this field will be omitted.
2000
The order by which items are returned.
This field is only returned for calls that use offset-based pagination. For marker-based paginated APIs, this field will be omitted.
The items in this collection.
A full representation of a file, as can be returned from any file API endpoints by default.