v2 - Streaming

Close Streaming Session

Close a streaming session and settle any remaining balance.

Optional body: {"playback_seconds": <float>} — if provided, the final settlement uses precise playback seconds instead of segment rounding.

post/v2/streaming/sessions/{session_id}/close

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

session_idstring required

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Request body

playback_secondsnumber nullable

Exact playback seconds watched — used for precise final settlement.

Response

Successful Response

session_idstring required
amount_settledinteger required
statusstring required
end_reasonstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.