Database APIs
Use our dynamic REST and GraphQL APIs to access and efficiently manage your data.
GPLv3 · version 10.6.4
The GPLv3 data platform maintained by Ona Insights: REST and GraphQL APIs, the admin app, flows and extensions.
GET /items/products/4
?fields[]=id
&fields[]=status
&fields[]=title
&fields[]=category
&fields[]=image.id
&fields[]=image.nameGET /items/products/4
?fields[]=id
&fields[]=status
&fields[]=title
&fields[]=category
&fields[]=image.id
&fields[]=image.namequery {
articles_by_id(id: 4) {
id
status
title
category
image {
id
name
}
}
}query {
articles_by_id(id: 4) {
id
status
title
category
image {
id
name
}
}
}await directus.request(
readItem('articles', 4, {
fields: [
'id',
'status',
'title',
'category,',
{ image: ['id', 'name'] }
]
})
);await directus.request(
readItem('articles', 4, {
fields: [
'id',
'status',
'title',
'category,',
{ image: ['id', 'name'] }
]
})
);Use our dynamic REST and GraphQL APIs to access and efficiently manage your data.
Structure and organize items in your collection, while also establishing relationships between them.
Use our powerful and simple authentication features in your own applications.
Build, modify or expand any feature needed for your project with our flexible extensions.
Access real-time data in your project with WebSockets, backed by your database.
Create custom, event-driven data processing and task automation workflows.
Step-by-step guides to flows, content workflows, real-time data and the SDK.
Use roles, permissions and flows to route content through review before it is published.
Transform data in a flow with a sandboxed Run Script operation.
Use WebSockets to build an interactive chat application in plain JavaScript.
Learn how to run CaseFusion on your own machine, customize settings, and deploy with confidence.
Bug reports and pull requests are welcome. Read the contributing guide and the security policy on GitHub.