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,28 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/lifegpc/pixiv_downloader/raw/master/doc/api/auth/user/add.json",
"title": "Result object",
"type": "object",
"properties": {
"ok": {
"description": "Whether the request was successful",
"type": "boolean"
},
"code": {
"description": "Error code, 0 if it was successful",
"type": "integer"
},
"msg": {
"description": "Error message",
"type": "string"
},
"debug_msg": {
"description": "Error message contains debug information"
},
"result": {
"$ref": "user.json",
"description": "The information about the new user or modified user"
}
},
"required": ["ok", "code"]
}