mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix app links and old rest references
This commit is contained in:
@@ -126,53 +126,47 @@
|
||||
name: Authentication
|
||||
- name: Global Query Parameters
|
||||
to: '/reference/api/query'
|
||||
- name: REST API
|
||||
to: '/reference/api/rest'
|
||||
- name: Data Access
|
||||
to: '/reference/api/items'
|
||||
- name: Assets
|
||||
to: '/reference/api/assets'
|
||||
- name: System
|
||||
to: '/reference/api/system'
|
||||
children:
|
||||
- to: '/reference/api/rest/introduction'
|
||||
name: Introduction
|
||||
- to: '/reference/api/rest/activity'
|
||||
- to: '/reference/api/system/activity'
|
||||
name: Activity
|
||||
- to: '/reference/api/rest/authentication'
|
||||
- to: '/reference/api/system/authentication'
|
||||
name: Authentication
|
||||
- to: '/reference/api/rest/collections'
|
||||
- to: '/reference/api/system/collections'
|
||||
name: Collections
|
||||
- to: '/reference/api/rest/extensions'
|
||||
- to: '/reference/api/system/extensions'
|
||||
name: Extensions
|
||||
- to: '/reference/api/rest/fields'
|
||||
- to: '/reference/api/system/fields'
|
||||
name: Fields
|
||||
- to: '/reference/api/rest/files'
|
||||
- to: '/reference/api/system/files'
|
||||
name: Files
|
||||
- to: '/reference/api/rest/folders'
|
||||
- to: '/reference/api/system/folders'
|
||||
name: Folders
|
||||
- to: '/reference/api/rest/items'
|
||||
name: Items
|
||||
- to: '/reference/api/rest/permissions'
|
||||
- to: '/reference/api/system/permissions'
|
||||
name: Permissions
|
||||
- to: '/reference/api/rest/presets'
|
||||
- to: '/reference/api/system/presets'
|
||||
name: Presets
|
||||
- to: '/reference/api/rest/relations'
|
||||
- to: '/reference/api/system/relations'
|
||||
name: Relations
|
||||
- to: '/reference/api/rest/revisions'
|
||||
- to: '/reference/api/system/revisions'
|
||||
name: Revisions
|
||||
- to: '/reference/api/rest/roles'
|
||||
- to: '/reference/api/system/roles'
|
||||
name: Roles
|
||||
- to: '/reference/api/rest/server'
|
||||
- to: '/reference/api/system/server'
|
||||
name: Server
|
||||
- to: '/reference/api/rest/settings'
|
||||
- to: '/reference/api/system/settings'
|
||||
name: Settings
|
||||
- to: '/reference/api/rest/users'
|
||||
- to: '/reference/api/system/users'
|
||||
name: Users
|
||||
- to: '/reference/api/rest/utilities'
|
||||
- to: '/reference/api/system/utilities'
|
||||
name: Utilities
|
||||
- to: '/reference/api/rest/webhooks'
|
||||
- to: '/reference/api/system/webhooks'
|
||||
name: Webhooks
|
||||
- to: '/reference/api/graphql'
|
||||
name: GraphQL API
|
||||
- to: '/reference/api/assets'
|
||||
name: Assets
|
||||
- to: '/reference/api/health'
|
||||
name: Health Check
|
||||
# - name: Contributing
|
||||
# to: '/contributing'
|
||||
# children:
|
||||
|
||||
@@ -33,7 +33,7 @@ There are two types of tokens that can be used to authenticate within Directus:
|
||||
These are the tokens as returned by the [login](/reference/api/system/authentication/#login) endpoint/mutation. These
|
||||
tokens have a relatively short expiration time, and are thus the most secure option to use. The tokens are returned with
|
||||
a `refresh_token` that can be used to retrieve a new access token via the
|
||||
[refresh](/reference/api/rest/authentication/#refresh) endpoint/mutation.
|
||||
[refresh](/reference/api/system/authentication/#refresh) endpoint/mutation.
|
||||
|
||||
### Static Token
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ sections.item:paragraphs.body
|
||||
sections.item:videos.body
|
||||
```
|
||||
|
||||
In GraphQL, this can be achieved using [Union Types](/reference/api/graphql/#many-to-any-union-types).
|
||||
In GraphQL, this can be achieved using Union Types.
|
||||
|
||||
</div>
|
||||
<div class="right">
|
||||
|
||||
@@ -48,13 +48,13 @@ Unique identifier for the item the action applied to. This is always a string, e
|
||||
When the action happened.
|
||||
|
||||
`user` **many-to-one**\
|
||||
The user who performed this action. Many-to-one to [users](/reference/api/rest/users/#the-users-object).
|
||||
The user who performed this action. Many-to-one to [users](/reference/api/system/users/#the-users-object).
|
||||
|
||||
`user_agent` **string**\
|
||||
User agent string of the browser the user used when the action took place.
|
||||
|
||||
`revisions` **one-to-many**\
|
||||
Any changes that were made in this activity. One-to-many to [revisions](/reference/api/rest/revisions/#the-revisions-object).
|
||||
Any changes that were made in this activity. One-to-many to [revisions](/reference/api/system/revisions/#the-revisions-object).
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -247,8 +247,8 @@ The `collection` property is required, all other properties of the [collection o
|
||||
optional.
|
||||
|
||||
You are able to provide an array of `fields` to be created during the creation of the collection. See the
|
||||
[fields object](/reference/api/rest/fields/#the-fields-object) for more information on what properties are available in
|
||||
a field.
|
||||
[fields object](/reference/api/system/fields/#the-fields-object) for more information on what properties are available
|
||||
in a field.
|
||||
|
||||
### Returns
|
||||
|
||||
|
||||
@@ -46,16 +46,16 @@ Title for the file.
|
||||
Mimetype of the file.
|
||||
|
||||
`folder` **many-to-one**\
|
||||
What (virtual) folder the file is in. Many-to-one to [folders](/reference/api/rest/folders/).
|
||||
What (virtual) folder the file is in. Many-to-one to [folders](/reference/api/system/folders/).
|
||||
|
||||
`uploaded_by` **many-to-one**\
|
||||
Who uploaded the file. Many-to-one to [users](/reference/api/rest/users/).
|
||||
Who uploaded the file. Many-to-one to [users](/reference/api/system/users/).
|
||||
|
||||
`uploaded_on` **datetime**\
|
||||
When the file was uploaded.
|
||||
|
||||
`modified_by` **many-to-one**\
|
||||
Who updated the file last. Many-to-one to [users](/reference/api/rest/users/).
|
||||
Who updated the file last. Many-to-one to [users](/reference/api/system/users/).
|
||||
|
||||
`filesize` **number**\
|
||||
Size of the file in bytes.
|
||||
|
||||
@@ -30,7 +30,7 @@ pageClass: page-reference
|
||||
Primary key of the permission rule.
|
||||
|
||||
`role` **many-to-one**\
|
||||
Role this permission applies to. Many-to-one to [roles](/reference/api/rest/roles/). `null` is used for public permissions.
|
||||
Role this permission applies to. Many-to-one to [roles](/reference/api/system/roles/). `null` is used for public permissions.
|
||||
|
||||
`collection` **string**\
|
||||
Collection this permission rule applies to.
|
||||
|
||||
@@ -34,10 +34,10 @@ Primary key of the preset.
|
||||
The title of the bookmark. If this value is `null`, it's considered a preset instead of a bookmark.
|
||||
|
||||
`user` **many-to-one**\
|
||||
User this preset applies to. Many-to-one to [users](/reference/api/rest/users/).
|
||||
User this preset applies to. Many-to-one to [users](/reference/api/system/users/).
|
||||
|
||||
`role` **many-to-one**\
|
||||
Role this preset applies to. Many-to-one to [users](/reference/api/rest/roles/).
|
||||
Role this preset applies to. Many-to-one to [users](/reference/api/system/roles/).
|
||||
|
||||
`collection` **string**\
|
||||
Collection this preset applies to.
|
||||
|
||||
@@ -30,7 +30,7 @@ pageClass: page-reference
|
||||
Primary key of the revision.
|
||||
|
||||
`activity` **many-to-one**\
|
||||
Related activity record. Many-to-one to [activity](/reference/api/rest/activity/).
|
||||
Related activity record. Many-to-one to [activity](/reference/api/system/activity/).
|
||||
|
||||
`collection` **string**\
|
||||
Collection in which this revision happened.
|
||||
|
||||
@@ -57,7 +57,7 @@ If this role is considered an admin role. This means that users in this role hav
|
||||
Whether or not users in this role have access to use the Admin App.
|
||||
|
||||
`users` **one-to-many**\
|
||||
The users in this role. One-to-many to [users](/reference/api/rest/users/).
|
||||
The users in this role. One-to-many to [users](/reference/api/system/users/).
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -39,13 +39,13 @@ Link to the (public) website that goes with this project.
|
||||
Brand color for the current project.
|
||||
|
||||
`project_logo` **many-to-one**\
|
||||
Primary logo for the current project. Many-to-one to [files](/reference/api/rest/files/).
|
||||
Primary logo for the current project. Many-to-one to [files](/reference/api/system/files/).
|
||||
|
||||
`public_foreground` **many-to-one**\
|
||||
Foreground image for the Admin App's public pages. Many-to-one to [files](/reference/api/rest/files/).
|
||||
Foreground image for the Admin App's public pages. Many-to-one to [files](/reference/api/system/files/).
|
||||
|
||||
`public_background` **many-to-one**\
|
||||
Background image for the Admin App's public pages. Many-to-one to [files](/reference/api/rest/files/).
|
||||
Background image for the Admin App's public pages. Many-to-one to [files](/reference/api/system/files/).
|
||||
|
||||
`public_note` **string**\
|
||||
Note shown on the Admin App's public pages. Supports Markdown.
|
||||
|
||||
@@ -54,7 +54,7 @@ Description of the user.
|
||||
Tags for the user.
|
||||
|
||||
`avatar` **many-to-one**\
|
||||
Avatar file. Many-to-one to [files](/reference/api/rest/files/).
|
||||
Avatar file. Many-to-one to [files](/reference/api/system/files/).
|
||||
|
||||
`language` **string**\
|
||||
Language the Admin App is rendered in. See [our Crowdin page](https://locales.directus.io) for all available languages and
|
||||
|
||||
Reference in New Issue
Block a user