The Movie Database Support

I am looking for the OpenAPI spec for the API to generate client code but the link on top right of the documentation takes me to https://api.stoplight.io/v1/versions/9WaNJfGpnnQ76opqe/export/oas.json which says NOT FOUND. Looks like things have moved, can someone please point me to the OpenAPI spec?

12 replies (on page 1 of 1)

Jump to last post

Bump! this should be straight forward, anyone?

Hi @prateek.somaiya, I guess Stoplight took it down for some reason. One reason could be that we're not on a supported platform anymore. There's planned work this year to migrate to a new provider but it's not something we're working on right now.

Thx for the response @travisbell, in absence of the latest spec, is there any way you can send me the last spec you have? It will help me immensely as I can at least get started with the final version you have...

Unfortunately I don't have one, it was always auto-generated by Stoplight.

Ah dang... no worries. Thx for checking

Having access to source OpenAPI specs is important for any developer. Especially for code gen tools. Is there someone we could contact for getting a copy of the API? I found a gist on GitHub, but that was published 2y ago.

Bumping this thread.

We’re in the middle of migrating documentation providers. Once the migration is complete, we’ll have an OAS file available again.

I’m almost done migrating v3: https://developer.themoviedb.org/docs

The first pass at the updated docs has been completed. You can see the links to the OAS files in the header of the our new docs. point_up_tone2

While I've got the first pass done, it's entirely possible I missed a few little things here and there so as people notice things, I'll make sure to get them fixed so the docs reflect reality. It had been almost a year since we had editable docs.

Is it possible to support/host older versions of OAS like 3.0.0? Trying to generate models with 3.1.0 is not well supported at the moment (see: https://github.com/OpenAPITools/openapi-generator/issues/9083). I think it would greatly help a lot developers to build libraries for using TMDB, because I could not find any alternative tools for generating API models except the OpenAPI generators.

Hi @pjimmy, which versions of OAS to support is up to ReadMe. Unfortunately, we don’t have any control over that.

@travisbell is there currently a machine-readable (like openapi) file with all the api routes?

Hi @zisra, from @travisbell a few comments back:

The first pass at the updated docs has been completed. You can see the links to the OAS files in the header of the our new docs.

Go here and click on OAS at the top.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login