AviatoAviato
DeveloperAPI ReferenceAdapterJellyfinSessionsPlayingStopped

Report playback stopped

POST
/api/adapter/jellyfin/Sessions/Playing/Stopped

Calls endSession() to flip the session to ended and write the final position. The mapping from PlaySessionId to the Aviato session ID is the one captured by /Sessions/Playing — if missing (server restart, or client never sent /Playing), we still update the playback_state row so the user's resume position is correct.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/adapter/jellyfin/Sessions/Playing/Stopped" \  -H "Content-Type: application/json" \  -d '{    "property1": null,    "property2": null  }'
Empty