curl --request GET \
--url https://api.themoviedb.org/3/tv/1399/season/1/account_states \
--header 'Authorization: Bearer <token>'
{
"id": 3624,
"results": [
{
"episode_number": 1,
"id": 63056,
"rated": false
},
{
"episode_number": 2,
"id": 63057,
"rated": false
},
{
"episode_number": 3,
"id": 63058,
"rated": false
},
{
"episode_number": 4,
"id": 63059,
"rated": false
},
{
"episode_number": 5,
"id": 63060,
"rated": false
},
{
"episode_number": 6,
"id": 63061,
"rated": false
},
{
"episode_number": 7,
"id": 63062,
"rated": false
},
{
"episode_number": 8,
"id": 63063,
"rated": false
},
{
"episode_number": 9,
"id": 63064,
"rated": false
},
{
"episode_number": 10,
"id": 63065,
"rated": false
}
]
}
Get the rating, watchlist and favourite status.
curl --request GET \
--url https://api.themoviedb.org/3/tv/1399/season/1/account_states \
--header 'Authorization: Bearer <token>'
{
"id": 3624,
"results": [
{
"episode_number": 1,
"id": 63056,
"rated": false
},
{
"episode_number": 2,
"id": 63057,
"rated": false
},
{
"episode_number": 3,
"id": 63058,
"rated": false
},
{
"episode_number": 4,
"id": 63059,
"rated": false
},
{
"episode_number": 5,
"id": 63060,
"rated": false
},
{
"episode_number": 6,
"id": 63061,
"rated": false
},
{
"episode_number": 7,
"id": 63062,
"rated": false
},
{
"episode_number": 8,
"id": 63063,
"rated": false
},
{
"episode_number": 9,
"id": 63064,
"rated": false
},
{
"episode_number": 10,
"id": 63065,
"rated": false
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
New Request
The response is of type object
.