1
0
api/ent/openapi.json
2024-08-01 07:01:19 +09:00

6578 lines
155 KiB
JSON

{
"openapi": "3.0.3",
"info": {
"title": "Ent Schema API",
"description": "This is an auto generated API description made out of an Ent schema definition",
"version": "0.1.0"
},
"paths": {
"/cards": {
"get": {
"tags": [
"Card"
],
"summary": "List Cards",
"description": "List Cards.",
"operationId": "listCard",
"parameters": [
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer",
"minimum": 1
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
}
],
"responses": {
"200": {
"description": "result Card list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CardList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"post": {
"tags": [
"Card"
],
"summary": "Create a new Card",
"description": "Creates a new Card and persists it to storage.",
"operationId": "createCard",
"requestBody": {
"description": "Card to create",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"token": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"type": "integer"
}
},
"required": [
"password",
"owner"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Card created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CardCreate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/cards/{id}": {
"get": {
"tags": [
"Card"
],
"summary": "Find a Card by ID",
"description": "Finds the Card with the requested ID and returns it.",
"operationId": "readCard",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Card",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Card with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CardRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"delete": {
"tags": [
"Card"
],
"summary": "Deletes a Card by ID",
"description": "Deletes the Card with the requested ID.",
"operationId": "deleteCard",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Card",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Card with requested ID was deleted"
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"patch": {
"tags": [
"Card"
],
"summary": "Updates a Card",
"description": "Updates a Card and persists changes to storage.",
"operationId": "updateCard",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Card",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"description": "Card properties to update",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"token": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"owner": {
"type": "integer"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Card updated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CardUpdate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/cards/{id}/d": {
"description": "Start an draw as done",
"put": {
"tags": [
"Card"
],
"summary": "Draws a card item as done.",
"operationId": "drawDone",
"responses": {
"204": {
"description": "Item marked as done"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
]
},
"/cards/{id}/owner": {
"get": {
"tags": [
"Card"
],
"summary": "Find the attached User",
"description": "Find the attached User of the Card with the given ID",
"operationId": "readCardOwner",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Card",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "User attached to Card with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Card_OwnerRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/groups": {
"get": {
"tags": [
"Group"
],
"summary": "List Groups",
"description": "List Groups.",
"operationId": "listGroup",
"parameters": [
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer",
"minimum": 1
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
}
],
"responses": {
"200": {
"description": "result Group list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GroupList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"post": {
"tags": [
"Group"
],
"summary": "Create a new Group",
"description": "Creates a new Group and persists it to storage.",
"operationId": "createGroup",
"requestBody": {
"description": "Group to create",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"users": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"required": [
"name",
"password"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Group created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GroupCreate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/groups/{id}": {
"get": {
"tags": [
"Group"
],
"summary": "Find a Group by ID",
"description": "Finds the Group with the requested ID and returns it.",
"operationId": "readGroup",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Group",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Group with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GroupRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"delete": {
"tags": [
"Group"
],
"summary": "Deletes a Group by ID",
"description": "Deletes the Group with the requested ID.",
"operationId": "deleteGroup",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Group",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Group with requested ID was deleted"
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"patch": {
"tags": [
"Group"
],
"summary": "Updates a Group",
"description": "Updates a Group and persists changes to storage.",
"operationId": "updateGroup",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Group",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"description": "Group properties to update",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"users": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Group updated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GroupUpdate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/groups/{id}/users": {
"get": {
"tags": [
"Group"
],
"summary": "List attached Users",
"description": "List attached Users.",
"operationId": "listGroupUsers",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Group",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer"
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "result Groups list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Group_UsersList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/mas": {
"get": {
"tags": [
"Ma"
],
"summary": "List Mas",
"description": "List Mas.",
"operationId": "listMa",
"parameters": [
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer",
"minimum": 1
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
}
],
"responses": {
"200": {
"description": "result Ma list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MaList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"post": {
"tags": [
"Ma"
],
"summary": "Create a new Ma",
"description": "Creates a new Ma and persists it to storage.",
"operationId": "createMa",
"requestBody": {
"description": "Ma to create",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"token": {
"type": "string"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"type": "integer"
}
},
"required": [
"password",
"owner"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Ma created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MaCreate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/mas/{id}": {
"get": {
"tags": [
"Ma"
],
"summary": "Find a Ma by ID",
"description": "Finds the Ma with the requested ID and returns it.",
"operationId": "readMa",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ma",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Ma with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MaRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"delete": {
"tags": [
"Ma"
],
"summary": "Deletes a Ma by ID",
"description": "Deletes the Ma with the requested ID.",
"operationId": "deleteMa",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ma",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Ma with requested ID was deleted"
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"patch": {
"tags": [
"Ma"
],
"summary": "Updates a Ma",
"description": "Updates a Ma and persists changes to storage.",
"operationId": "updateMa",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ma",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"description": "Ma properties to update",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"type": "integer"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Ma updated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MaUpdate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/mas/{id}/owner": {
"get": {
"tags": [
"Ma"
],
"summary": "Find the attached User",
"description": "Find the attached User of the Ma with the given ID",
"operationId": "readMaOwner",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ma",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "User attached to Ma with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Ma_OwnerRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/sevs": {
"get": {
"tags": [
"Sev"
],
"summary": "List Sevs",
"description": "List Sevs.",
"operationId": "listSev",
"parameters": [
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer",
"minimum": 1
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
}
],
"responses": {
"200": {
"description": "result Sev list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SevList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"post": {
"tags": [
"Sev"
],
"summary": "Create a new Sev",
"description": "Creates a new Sev and persists it to storage.",
"operationId": "createSev",
"requestBody": {
"description": "Sev to create",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"password": {
"type": "string"
},
"token": {
"type": "string"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"type": "integer"
}
},
"required": [
"password",
"owner"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Sev created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SevCreate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/sevs/{id}": {
"get": {
"tags": [
"Sev"
],
"summary": "Find a Sev by ID",
"description": "Finds the Sev with the requested ID and returns it.",
"operationId": "readSev",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Sev",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Sev with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SevRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"delete": {
"tags": [
"Sev"
],
"summary": "Deletes a Sev by ID",
"description": "Deletes the Sev with the requested ID.",
"operationId": "deleteSev",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Sev",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Sev with requested ID was deleted"
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"patch": {
"tags": [
"Sev"
],
"summary": "Updates a Sev",
"description": "Updates a Sev and persists changes to storage.",
"operationId": "updateSev",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Sev",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"description": "Sev properties to update",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"type": "integer"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Sev updated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SevUpdate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/sevs/{id}/owner": {
"get": {
"tags": [
"Sev"
],
"summary": "Find the attached User",
"description": "Find the attached User of the Sev with the given ID",
"operationId": "readSevOwner",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Sev",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "User attached to Sev with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Sev_OwnerRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/ues": {
"get": {
"tags": [
"Ue"
],
"summary": "List Ues",
"description": "List Ues.",
"operationId": "listUe",
"parameters": [
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer",
"minimum": 1
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
}
],
"responses": {
"200": {
"description": "result Ue list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UeList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"post": {
"tags": [
"Ue"
],
"summary": "Create a new Ue",
"description": "Creates a new Ue and persists it to storage.",
"operationId": "createUe",
"requestBody": {
"description": "Ue to create",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"password": {
"type": "string"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"token": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"type": "integer"
}
},
"required": [
"password",
"owner"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Ue created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UeCreate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/ues/{id}": {
"get": {
"tags": [
"Ue"
],
"summary": "Find a Ue by ID",
"description": "Finds the Ue with the requested ID and returns it.",
"operationId": "readUe",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ue",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Ue with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UeRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"delete": {
"tags": [
"Ue"
],
"summary": "Deletes a Ue by ID",
"description": "Deletes the Ue with the requested ID.",
"operationId": "deleteUe",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ue",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Ue with requested ID was deleted"
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"patch": {
"tags": [
"Ue"
],
"summary": "Updates a Ue",
"description": "Updates a Ue and persists changes to storage.",
"operationId": "updateUe",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ue",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"description": "Ue properties to update",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"token": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"owner": {
"type": "integer"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Ue updated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UeUpdate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/ues/{id}/owner": {
"get": {
"tags": [
"Ue"
],
"summary": "Find the attached User",
"description": "Find the attached User of the Ue with the given ID",
"operationId": "readUeOwner",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the Ue",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "User attached to Ue with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Ue_OwnerRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/users": {
"get": {
"tags": [
"User"
],
"summary": "List Users",
"description": "List Users.",
"operationId": "listUser",
"parameters": [
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer",
"minimum": 1
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 10000,
"minimum": 1
}
}
],
"responses": {
"200": {
"description": "result User list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"post": {
"tags": [
"User"
],
"summary": "Create a new User",
"description": "Creates a new User and persists it to storage.",
"operationId": "createUser",
"requestBody": {
"description": "User to create",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"token": {
"type": "string"
},
"password": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"card": {
"type": "array",
"items": {
"type": "integer"
}
},
"ue": {
"type": "array",
"items": {
"type": "integer"
}
},
"ma": {
"type": "array",
"items": {
"type": "integer"
}
},
"sev": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"required": [
"username",
"password"
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "User created",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserCreate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/users/{id}": {
"get": {
"tags": [
"User"
],
"summary": "Find a User by ID",
"description": "Finds the User with the requested ID and returns it.",
"operationId": "readUser",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the User",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "User with requested ID was found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserRead"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"delete": {
"tags": [
"User"
],
"summary": "Deletes a User by ID",
"description": "Deletes the User with the requested ID.",
"operationId": "deleteUser",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the User",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "User with requested ID was deleted"
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
},
"patch": {
"tags": [
"User"
],
"summary": "Updates a User",
"description": "Updates a User and persists changes to storage.",
"operationId": "updateUser",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the User",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"description": "User properties to update",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"token": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"card": {
"type": "array",
"items": {
"type": "integer"
}
},
"ue": {
"type": "array",
"items": {
"type": "integer"
}
},
"ma": {
"type": "array",
"items": {
"type": "integer"
}
},
"sev": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "User updated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserUpdate"
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/users/{id}/card": {
"get": {
"tags": [
"User"
],
"summary": "List attached Cards",
"description": "List attached Cards.",
"operationId": "listUserCard",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the User",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer"
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "result Users list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User_CardList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/users/{id}/card/start": {
"description": "Start an draw as done",
"patch": {
"tags": [
"Card"
],
"summary": "Draws a card item as done.",
"operationId": "drawStart",
"responses": {
"204": {
"description": "Item marked as done"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
]
},
"/users/{id}/ma": {
"get": {
"tags": [
"User"
],
"summary": "List attached Mas",
"description": "List attached Mas.",
"operationId": "listUserMa",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the User",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer"
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "result Users list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User_MaList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/users/{id}/sev": {
"get": {
"tags": [
"User"
],
"summary": "List attached Sevs",
"description": "List attached Sevs.",
"operationId": "listUserSev",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the User",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer"
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "result Users list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User_SevList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
},
"/users/{id}/ue": {
"get": {
"tags": [
"User"
],
"summary": "List attached Ues",
"description": "List attached Ues.",
"operationId": "listUserUe",
"parameters": [
{
"name": "id",
"in": "path",
"description": "ID of the User",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "page",
"in": "query",
"description": "what page to render",
"schema": {
"type": "integer"
}
},
{
"name": "itemsPerPage",
"in": "query",
"description": "item count to render per page",
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "result Users list",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User_UeList"
}
}
}
}
},
"400": {
"$ref": "#/components/responses/400"
},
"404": {
"$ref": "#/components/responses/404"
},
"409": {
"$ref": "#/components/responses/409"
},
"500": {
"$ref": "#/components/responses/500"
}
}
}
}
},
"components": {
"schemas": {
"Card": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"password": {
"type": "string"
},
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"token": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/User"
}
},
"required": [
"id",
"password",
"owner"
]
},
"CardCreate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"CardList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"CardRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"CardUpdate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"Card_OwnerRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"Group": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"users": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User"
}
}
},
"required": [
"id",
"name",
"password"
]
},
"GroupCreate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
},
"GroupList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
},
"GroupRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
},
"GroupUpdate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
},
"Group_UsersList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"Ma": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"password": {
"type": "string"
},
"token": {
"type": "string"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/User"
}
},
"required": [
"id",
"password",
"owner"
]
},
"MaCreate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"MaList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"MaRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"MaUpdate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"Ma_OwnerRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"Sev": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"password": {
"type": "string"
},
"token": {
"type": "string"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/User"
}
},
"required": [
"id",
"password",
"owner"
]
},
"SevCreate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"SevList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"SevRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"SevUpdate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"Sev_OwnerRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"Ue": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"password": {
"type": "string"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"token": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/User"
}
},
"required": [
"id",
"password",
"owner"
]
},
"UeCreate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"UeList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"UeRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"UeUpdate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"Ue_OwnerRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"User": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"token": {
"type": "string"
},
"password": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"card": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Card"
}
},
"ue": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Ue"
}
},
"ma": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Ma"
}
},
"sev": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Sev"
}
}
},
"required": [
"id",
"username",
"password"
]
},
"UserCreate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"UserList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"UserRead": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"UserUpdate": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"did": {
"type": "string"
},
"member": {
"type": "boolean"
},
"book": {
"type": "boolean"
},
"manga": {
"type": "boolean"
},
"badge": {
"type": "boolean"
},
"bsky": {
"type": "boolean"
},
"mastodon": {
"type": "boolean"
},
"delete": {
"type": "boolean"
},
"handle": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"raid_at": {
"type": "string",
"format": "date-time"
},
"server_at": {
"type": "string",
"format": "date-time"
},
"egg_at": {
"type": "string",
"format": "date-time"
},
"luck": {
"type": "integer"
},
"luck_at": {
"type": "string",
"format": "date-time"
},
"like": {
"type": "integer"
},
"like_rank": {
"type": "integer"
},
"like_at": {
"type": "string",
"format": "date-time"
},
"fav": {
"type": "integer"
},
"ten": {
"type": "boolean"
},
"ten_su": {
"type": "integer"
},
"ten_kai": {
"type": "integer"
},
"aiten": {
"type": "integer"
},
"ten_card": {
"type": "string"
},
"ten_delete": {
"type": "string"
},
"ten_post": {
"type": "string"
},
"ten_get": {
"type": "string"
},
"ten_at": {
"type": "string",
"format": "date-time"
},
"next": {
"type": "string"
},
"room": {
"type": "integer"
},
"model": {
"type": "boolean"
},
"model_at": {
"type": "string",
"format": "date-time"
},
"model_attack": {
"type": "integer"
},
"model_limit": {
"type": "integer"
},
"model_skill": {
"type": "integer"
},
"model_mode": {
"type": "integer"
},
"model_critical": {
"type": "integer"
},
"model_critical_d": {
"type": "integer"
},
"game": {
"type": "boolean"
},
"game_test": {
"type": "boolean"
},
"game_end": {
"type": "boolean"
},
"game_account": {
"type": "boolean"
},
"game_lv": {
"type": "integer"
},
"game_exp": {
"type": "integer"
},
"game_story": {
"type": "integer"
},
"game_limit": {
"type": "boolean"
},
"coin": {
"type": "integer"
},
"coin_open": {
"type": "boolean"
},
"coin_at": {
"type": "string",
"format": "date-time"
},
"planet": {
"type": "number",
"format": "double"
},
"planet_at": {
"type": "string",
"format": "date-time"
},
"login": {
"type": "boolean"
},
"login_at": {
"type": "string",
"format": "date-time"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
}
},
"required": [
"id",
"username"
]
},
"User_CardList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"card": {
"type": "integer"
},
"skill": {
"type": "string"
},
"status": {
"type": "string"
},
"cp": {
"type": "integer"
},
"url": {
"type": "string"
},
"count": {
"type": "integer"
},
"author": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"User_MaList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"text": {
"type": "string"
},
"did": {
"type": "string"
},
"avatar": {
"type": "string"
},
"cid": {
"type": "string"
},
"uri": {
"type": "string"
},
"cid_root": {
"type": "string"
},
"uri_root": {
"type": "string"
},
"root": {
"type": "string"
},
"rkey": {
"type": "string"
},
"bsky_url": {
"type": "string"
},
"comment": {
"type": "string"
},
"blog": {
"type": "string"
},
"blog_url": {
"type": "string"
},
"domain": {
"type": "string"
},
"host": {
"type": "string"
},
"feed": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"User_SevList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"handle": {
"type": "string"
},
"did": {
"type": "string"
},
"uid": {
"type": "integer"
},
"cid": {
"type": "integer"
},
"cp": {
"type": "integer"
},
"card": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
},
"User_UeList": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"limit": {
"type": "boolean"
},
"limit_boss": {
"type": "boolean"
},
"limit_item": {
"type": "boolean"
},
"lv": {
"type": "integer"
},
"lv_point": {
"type": "integer"
},
"model": {
"type": "integer"
},
"sword": {
"type": "integer"
},
"card": {
"type": "integer"
},
"mode": {
"type": "string"
},
"cp": {
"type": "integer"
},
"count": {
"type": "integer"
},
"location_x": {
"type": "integer"
},
"location_y": {
"type": "integer"
},
"location_z": {
"type": "integer"
},
"location_n": {
"type": "integer"
},
"author": {
"type": "string"
},
"game_lv": {
"type": "string"
},
"game_exp": {
"type": "string"
},
"game_id": {
"type": "string"
},
"game_story": {
"type": "integer"
},
"game_ep": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id"
]
}
},
"responses": {
"400": {
"description": "invalid input, data invalid",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"status": {
"type": "string"
},
"errors": {}
},
"required": [
"code",
"status"
]
}
}
}
},
"403": {
"description": "insufficient permissions",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"status": {
"type": "string"
},
"errors": {}
},
"required": [
"code",
"status"
]
}
}
}
},
"404": {
"description": "resource not found",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"status": {
"type": "string"
},
"errors": {}
},
"required": [
"code",
"status"
]
}
}
}
},
"409": {
"description": "conflicting resources",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"status": {
"type": "string"
},
"errors": {}
},
"required": [
"code",
"status"
]
}
}
}
},
"500": {
"description": "unexpected error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"status": {
"type": "string"
},
"errors": {}
},
"required": [
"code",
"status"
]
}
}
}
}
}
}
}