Soporte de The Movie Database

im trying to add movies into my list, im using the version 4 of the api cause i want to add one or more movies at once

curl --location 'https://api.themoviedb.org/4/8223725/items' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer **************' \
--data '{
  "items": [
    {
      "media_type": "movie",
      "media_id": 550
    },
    {
      "media_type": "movie",
      "media_id": 244786
    }
  ]
}'

but im getting the error below, i dont know why:

{
    "status_code": 34,
    "status_message": "The resource you requested could not be found.",
    "success": false
}

2 respuestas (en la página 1 de 1)

Jump to last post

Hi @chanemamovies, there is a mistake in the user doc for list - add items. The URL

https://api.themoviedb.org/4/{list_id}/items

should be

https://api.themoviedb.org/4/list/{list_id}/items

Also note that you will need to create a v4 write token for this to work. Details are here.

@robbie3999 said:

Hi @chanemamovies, there is a mistake in the user doc for list - add items. The URL

https://api.themoviedb.org/4/{list_id}/items

should be

https://api.themoviedb.org/4/list/{list_id}/items

Also note that you will need to create a v4 write token for this to work. Details are here.

thanks, it helped a lot

¿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