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?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by prateek.somaiya
on January 4, 2023 at 9:31 AM
Bump! this should be straight forward, anyone?
Reply by Travis Bell
on January 4, 2023 at 10:55 AM
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.
Reply by prateek.somaiya
on January 4, 2023 at 10:57 AM
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...
Reply by Travis Bell
on January 4, 2023 at 11:02 AM
Unfortunately I don't have one, it was always auto-generated by Stoplight.
Reply by prateek.somaiya
on January 4, 2023 at 11:02 AM
Ah dang... no worries. Thx for checking
Reply by robigan
on May 3, 2023 at 3:26 PM
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.
Reply by Travis Bell
on May 3, 2023 at 3:44 PM
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
Reply by Travis Bell
on May 7, 2023 at 12:26 PM
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.
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.
Reply by pjimmy
on May 21, 2023 at 9:42 PM
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.
Reply by Travis Bell
on May 21, 2023 at 10:42 PM
Hi @pjimmy, which versions of OAS to support is up to ReadMe. Unfortunately, we don’t have any control over that.
Reply by zisra
on July 1, 2023 at 6:41 AM
@travisbell is there currently a machine-readable (like openapi) file with all the api routes?
Reply by robbie3999
on July 1, 2023 at 5:12 PM
Hi @zisra, from @travisbell a few comments back:
Go here and click on OAS at the top.