-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the solution you'd like
It would be great to have a way to access revision collection data. When you enable access to the directus_revisions
collection in directus an api endpoint is available at {directus-host}/revisions, this is different than the usual /items/{collection} API endpoints
Describe alternatives you've considered
At the moment I don't see another solution than to manually setup the fetch() myself, circumventing the nuxt-directive
Additional context
const fetchRevisions = async () => {
try {
const response = await $fetch('http://0.0.0.0:8055/revisions')
console.log(response.data)
// return response.data
} catch (error) {
console.error('Error fetching revisions:', error)
}
}
sandros94
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request