Update document

This commit is contained in:
2022-10-19 04:40:05 +00:00
committed by GitHub
parent 0b125fa710
commit ef88c44361
8 changed files with 165 additions and 8 deletions

View File

@@ -0,0 +1,25 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/lifegpc/pixiv_downloader/raw/master/doc/api/auth/user/user.json",
"title": "User's information",
"properties": {
"id": {
"type": "number",
"minimum": 0,
"maximum": 18446744073709551615,
"description": "User ID"
},
"name": {
"type": "string",
"description": "User's name"
},
"username": {
"type": "string"
},
"is_admin": {
"type": "boolean",
"description": "Whether the user is an admin"
}
},
"required": ["id", "name", "username", "is_admin"]
}