#Directus Open API
14 messages · Page 1 of 1 (latest)
REST and GraphQL API documentation on the Server collection in Directus.
Yes I saw the Documentation , but , how I can show from url , the endpoint list ? like swagger do
Use the open api spec <your-directus>/server/specs/oas?access_token=<TOKEN> and load that into swagger https://editor.swagger.io/ (import URL)
ah ok ! thank you buddy! I will try
It works! thank you!
In order to show the same view, inside to my cms repo , directus have the config to show the swagger interface?, because I want to have the same view with a custom url , into my cms, is possible?
Something like this
Directus does not have swagger built-in so you'll either need to set-up a seperate swagger (or similar product) or look into extensions like this one https://github.com/u12206050/directus-extension-api-viewer-module
Ah ok perfect bro, thank you for your help 😄
@thorn osprey Hi Bro ! , how I can edit the example schema? , and other question , this not work like a api simulation rigth?
Swagger should just allow you to edit the imported definition right? What do you mean with "api simulation"?
Test the endppoint, because I only can use the try button , but can not run the endpoint to testing