Download OpenAPI specification:Download
Gets the library content and plans for the current user
location | string override the users location, used for plan-as-library content |
required | Array of objects (LibraryItem) | ||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
required | Array of objects | ||||||||||||||||||||||||||||||||||||
Array
|
{- "items": [
- {
- "ownership": "rent",
- "type": "film",
- "slug": "string",
- "title": "string",
- "available_from": "string",
- "available_to": "string",
- "expiry": "string",
- "is_expired": true,
- "watch_window_duration": 0,
- "watch_window_start": "string",
- "watch_window_end": "string",
- "plan_id": 0,
- "playback_progress": {
- "play_position": 0,
- "last_played_at": "string",
- "length": 0,
- "completed": true
}
}
], - "plans": [
- {
- "plan_id": 0,
- "expiry": "string"
}
]
}
A user can request to see their own library, or a privileged user can view others libraries.
user_id required | integer <int32> User ID |
location | string override the users location for plan-as-library content |
required | Array of objects (LibraryItem) | ||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
required | Array of objects | ||||||||||||||||||||||||||||||||||||
Array
|
{- "items": [
- {
- "ownership": "rent",
- "type": "film",
- "slug": "string",
- "title": "string",
- "available_from": "string",
- "available_to": "string",
- "expiry": "string",
- "is_expired": true,
- "watch_window_duration": 0,
- "watch_window_start": "string",
- "watch_window_end": "string",
- "plan_id": 0,
- "playback_progress": {
- "play_position": 0,
- "last_played_at": "string",
- "length": 0,
- "completed": true
}
}
], - "plans": [
- {
- "plan_id": 0,
- "expiry": "string"
}
]
}