Suporte do The Movie Database

With the request below I delete the tv show from watchlist but when I get the watchlist again I receive a watchlist with this item in it. Adding is working just fine instead of false I send True. I saw that you don't have delete from watchlist also on your site. What should I do ?

REQUEST:

POST http://api.themoviedb.org/3/account/1396/watchlist?api_key=MYAPIKEY&session_id=MYSESSIONID HTTP/1.1 Accept-Encoding: gzip Accept: application/json Content-Length: 57 Content-Type: application/json; charset=utf-8 Host: api.themoviedb.org Connection: Keep-Alive Pragma: no-cache Cookie: _ga=GA1.2.226218752.1443841333

{"media_type":"tv","media_id":"1396","watchlist":"False"}

RESPONSE:

HTTP/1.1 201 Created Access-Control-Allow-Origin: * Cache-Control: public, max-age=0 Content-Type: application/json;charset=utf-8 Date: Wed, 07 Oct 2015 01:50:39 GMT Server: openresty Status: 201 Created X-RateLimit-Limit: 40 X-RateLimit-Remaining: 39 X-RateLimit-Reset: 1444182649 Content-Length: 79 Connection: keep-alive

{"status_code":12,"status_message":"The item/record was updated successfully."}

2 respostas (na página 1 de 1)

Jump to last post

Hi Dzivo,

Make sure you're sending a boolean and not a string (might as well send an integer for the id while you're at it):

{"media_type":"tv","media_id":1396,"watchlist":false}

Cheers.

Thx that did the trick

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade