增加文档

This commit is contained in:
2022-09-18 13:28:53 +00:00
committed by GitHub
parent ed35ef6e49
commit 59562eaec8
4 changed files with 35 additions and 0 deletions

17
doc/api/version.json Normal file
View File

@@ -0,0 +1,17 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/lifegpc/pixiv_downloader/raw/master/doc/api/version.json",
"title": "Server version",
"type": "object",
"properties": {
"version": {
"description": "The version of the API",
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 4,
"minItems": 4
}
}
}