DeveloperAPI ReferencePlaybackStateItemid
/api/playback/state/{itemId}
Path Parameters
itemId*string
Item ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/api/playback/state/string" \ -H "Content-Type: application/json" \ -d '{ "position": 0, "duration": 0 }'{
"state": {
"id": "string",
"userId": "string",
"itemId": "string",
"position": 0,
"duration": 0,
"completed": true,
"activeSessionId": "string",
"lastSource": "tracked",
"updatedAt": "string"
}
}