-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs for the GraphQL-based Admin API
- Loading branch information
Showing
6 changed files
with
223 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Virtual Folder Management | ||
========================= | ||
|
||
Full Admin | ||
---------- | ||
|
||
Query Schema | ||
~~~~~~~~~~~~ | ||
|
||
.. code-block:: text | ||
type VirtualFolder { | ||
id: UUID | ||
host: String | ||
name: String | ||
max_files: Int | ||
max_size: Int | ||
created_at: DateTime | ||
last_used: DateTime | ||
num_files: Int | ||
cur_size: Int | ||
} | ||
type rootQuery { | ||
... | ||
vfolders(access_key: String): [VirtualFolder] | ||
} | ||
Restricted Owner Access | ||
----------------------- | ||
|
||
Query Schema | ||
~~~~~~~~~~~~ | ||
|
||
It shares the same ``VirtualFolder`` type, but you cannot use ``access_key`` argument in the root query. | ||
|
||
.. code-block:: text | ||
type root { | ||
... | ||
vfolders(): [VirtualFolder] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters