Presigned GET URLs (120 s) for up to 20 chunk or stylesheet ids from the manifest. A block comes with its byte range and the stylesheets it references (`css:<hash>` entries). Ids the session no longer has are left out. Needs replay access and is audited like the manifest.
POST
/rum/{app_id}/sessions/{session_id}/replay/chunks
const url = 'https://api.siteqwality.com/rum/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/replay/chunks';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"ids":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siteqwality.com/rum/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/replay/chunks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "example" ] }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” app_id
required
string format: uuid
RUM application identifier
session_id
required
string format: uuid
Session identifier
Request Body required
Section titled “Request Body required ” Media type application/json
POST /rum/{app_id}/sessions/{session_id}/replay/chunks.
object
ids
required
Chunk ids from the manifest (b:, s:) or stylesheet ids (css:), at most 20.
Array<string>
Example generated
{ "ids": [ "example" ]}Responses
Section titled “ Responses ”URLs for the ids found, requested ones first
Media type application/json
Array<object>
A presigned GET URL for one chunk or stylesheet.
object
id
required
string
kind
required
What a chunk is.
string
url
required
string
range
Send as the Range header; present for blocks.
string | null
expires_in
required
Seconds until url stops working. On a 403, ask again once.
integer format: int64
Example
[ { "kind": "block" }]No ids, more than 20, or an id that is not a chunk id
Missing or invalid authentication
No replay access
Application not found
Internal server error