Soporte de 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 respuestas (en la 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

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión