Paginated list of resources currently mounted in a session.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET /sessions/{session_id}/resources
Path parameters
session_id
string
(必选)
Session ID, format sesn_<ULID>
Query parameterslimitinteger(可选)Items per page, max 100, default 20pagestring(可选)Pagination cursor (opaque token). Omit on the first request; on subsequent requests pass the cursor returned by the previous response | Request example |
Response fieldsdataarray<object>Array of resource objectsdata[].idstringResource ID, format sesrsc_<ULID>data[].typestringResource type, always filedata[].file_idstringFile ID of the internal copydata[].mount_pathstringFull mount path with the /mnt/session/uploads/ prefixdata[].created_atstringCreation time, ISO 8601data[].updated_atstringLast update time, ISO 8601next_pagestringNext page cursor; pass it as the page parameter to continue paging; null when there is no more datarequest_idstringUnique identifier of this request | ResponseThe response containsdata (an array of session resource objects) and next_page (the cursor for the next page, null when there is no more data). |
Error codes
| HTTP status | Error code | Description |
|---|