Returns an array of watch history
objects that contains all users that have registered with the service.
{server_url}/watchHistory
None
None
None
[
{
"user_id": 1,
"movie_id": 1,
"watched_date": "2024-05-20",
"location": "theater",
"id": "105c"
},
{
"user_id": 1,
"movie_id": 2,
"watched_date": "2024-05-22",
"location": "streaming",
"platform": "Netflix",
"id": "991a"
}
...
]
Status value | Return status | Description |
---|---|---|
200 | Success | Requested data returned successfully |
ECONNREFUSED | N/A | Service is offline. Start the service and try again. |