watch-history
resourceBase endpoint:
{server_url}/watchHistory
Contains information about the watch history logged in the watch history of the service.
To have a watch history in the service, a user must be added to the service first.
Sample watch-history
resource
{
"user_id": 1,
"movie_id": 1,
"watched_date": "2024-05-20",
"location": "theater"
}
Property name | Type | Description |
---|---|---|
user_id |
number | The ID of the user resource to which this watch history is assigned |
movie_id |
string | The ID of the movie resource to which this watch history is assigned |
watched_date |
string | The date the user watched the movie |
location |
string | The location/format/service where the movie was watched |
The watch-history
resource supports these operations.