What is the Directus API URL?
The Directus API is a powerful tool that connects your database to your website or device with ease. There are 2 frameworks to choose from, REST API or GraphQL.
The Directus API is a powerful tool that connects your database to your website or device with ease. There are 2 frameworks to choose from, REST API or GraphQL. This article will cover what URL to use for both methods.
The URL for the Directus REST API is:
https://directus.example.com/items/collection_name
The URL for the Directus GraphQL API is:
https://directus.example.com/graphql
💡
Make sure to change directus.example.com to your address for Directus
Some people have asked if Directus has a GraphQL playground, it does not. However, you can use Postman and create your own playground of GraphQL requests using the Directus API Documentation.
Here are some other useful articles: