2022-08-31 06:18:14 +00:00
|
|
|
{
|
|
|
|
"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": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"/cards": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"Card"
|
2022-08-31 06:18:14 +00:00
|
|
|
],
|
2022-08-31 07:49:08 +00:00
|
|
|
"summary": "List Cards",
|
|
|
|
"description": "List Cards.",
|
|
|
|
"operationId": "listCard",
|
2022-08-31 06:18:14 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "page",
|
|
|
|
"in": "query",
|
|
|
|
"description": "what page to render",
|
|
|
|
"schema": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "itemsPerPage",
|
|
|
|
"in": "query",
|
|
|
|
"description": "item count to render per page",
|
|
|
|
"schema": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "integer",
|
2023-08-21 13:13:44 +00:00
|
|
|
"maximum": 5000,
|
2022-08-31 07:49:08 +00:00
|
|
|
"minimum": 1
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "result Card list",
|
2022-08-31 06:18:14 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"$ref": "#/components/schemas/CardList"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"Card"
|
2022-08-31 06:18:14 +00:00
|
|
|
],
|
2022-08-31 07:49:08 +00:00
|
|
|
"summary": "Create a new Card",
|
|
|
|
"description": "Creates a new Card and persists it to storage.",
|
|
|
|
"operationId": "createCard",
|
2022-08-31 06:18:14 +00:00
|
|
|
"requestBody": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "Card to create",
|
2022-08-31 06:18:14 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-04-05 06:05:14 +00:00
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"card": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-03 10:16:36 +00:00
|
|
|
"skill": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 06:18:14 +00:00
|
|
|
"status": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"cp": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"url": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-08-21 13:13:44 +00:00
|
|
|
"count": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"owner": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2023-04-05 06:05:14 +00:00
|
|
|
"password",
|
2022-08-31 07:49:08 +00:00
|
|
|
"owner"
|
2022-08-31 06:18:14 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "Card created",
|
2022-08-31 06:18:14 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"$ref": "#/components/schemas/CardCreate"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"/cards/{id}": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"Card"
|
2022-08-31 06:18:14 +00:00
|
|
|
],
|
2022-08-31 07:49:08 +00:00
|
|
|
"summary": "Find a Card by ID",
|
|
|
|
"description": "Finds the Card with the requested ID and returns it.",
|
|
|
|
"operationId": "readCard",
|
2022-08-31 06:18:14 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "ID of the Card",
|
|
|
|
"required": true,
|
2022-08-31 06:18:14 +00:00
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "Card with requested ID was found",
|
2022-08-31 06:18:14 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"$ref": "#/components/schemas/CardRead"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"delete": {
|
|
|
|
"tags": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"Card"
|
2022-08-31 06:18:14 +00:00
|
|
|
],
|
2022-08-31 07:49:08 +00:00
|
|
|
"summary": "Deletes a Card by ID",
|
|
|
|
"description": "Deletes the Card with the requested ID.",
|
|
|
|
"operationId": "deleteCard",
|
2022-08-31 06:18:14 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "ID of the Card",
|
|
|
|
"required": true,
|
2022-08-31 06:18:14 +00:00
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"204": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "Card with requested ID was deleted"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"patch": {
|
|
|
|
"tags": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"Card"
|
2022-08-31 06:18:14 +00:00
|
|
|
],
|
2022-08-31 07:49:08 +00:00
|
|
|
"summary": "Updates a Card",
|
|
|
|
"description": "Updates a Card and persists changes to storage.",
|
|
|
|
"operationId": "updateCard",
|
2022-08-31 06:18:14 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "ID of the Card",
|
|
|
|
"required": true,
|
2022-08-31 06:18:14 +00:00
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"requestBody": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "Card properties to update",
|
2022-08-31 06:18:14 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-07-20 14:18:17 +00:00
|
|
|
"card": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-03 10:16:36 +00:00
|
|
|
"skill": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"status": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"cp": {
|
|
|
|
"type": "integer"
|
2023-08-03 03:32:44 +00:00
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"type": "string"
|
2023-07-10 03:43:09 +00:00
|
|
|
},
|
2023-08-21 13:13:44 +00:00
|
|
|
"count": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"owner": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"description": "Card updated",
|
2022-08-31 06:18:14 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"$ref": "#/components/schemas/CardUpdate"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"/cards/{id}/d": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"description": "Start an draw as done",
|
|
|
|
"put": {
|
|
|
|
"tags": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"Card"
|
2022-08-31 06:18:14 +00:00
|
|
|
],
|
|
|
|
"summary": "Draws a card item as done.",
|
|
|
|
"operationId": "drawDone",
|
|
|
|
"responses": {
|
|
|
|
"204": {
|
|
|
|
"description": "Item marked as done"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2022-08-31 07:49:08 +00:00
|
|
|
"required": true,
|
2022-08-31 06:18:14 +00:00
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"/cards/{id}/owner": {
|
|
|
|
"get": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"tags": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"Card"
|
2022-08-31 06:18:14 +00:00
|
|
|
],
|
2022-08-31 07:49:08 +00:00
|
|
|
"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"
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
2022-08-31 07:49:08 +00:00
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "User attached to Card with requested ID was found",
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/components/schemas/Card_OwnerRead"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"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
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
{
|
|
|
|
"name": "itemsPerPage",
|
|
|
|
"in": "query",
|
|
|
|
"description": "item count to render per page",
|
|
|
|
"schema": {
|
|
|
|
"type": "integer",
|
2023-08-21 13:13:44 +00:00
|
|
|
"maximum": 5000,
|
2022-08-31 07:49:08 +00:00
|
|
|
"minimum": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "result Group list",
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/components/schemas/GroupList"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"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"
|
|
|
|
},
|
2023-04-05 06:05:14 +00:00
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"users": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2023-04-05 06:05:14 +00:00
|
|
|
"name",
|
|
|
|
"password"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "Group created",
|
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/components/schemas/GroupCreate"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"/ues": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue"
|
2022-08-31 07:49:08 +00:00
|
|
|
],
|
2024-02-03 06:48:28 +00:00
|
|
|
"summary": "List Ues",
|
|
|
|
"description": "List Ues.",
|
|
|
|
"operationId": "listUe",
|
2022-08-31 07:49:08 +00:00
|
|
|
"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",
|
2023-08-21 13:13:44 +00:00
|
|
|
"maximum": 5000,
|
2022-08-31 07:49:08 +00:00
|
|
|
"minimum": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "result Ue list",
|
2022-08-31 07:49:08 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"$ref": "#/components/schemas/UeList"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue"
|
2022-08-31 07:49:08 +00:00
|
|
|
],
|
2024-02-03 06:48:28 +00:00
|
|
|
"summary": "Create a new Ue",
|
|
|
|
"description": "Creates a new Ue and persists it to storage.",
|
|
|
|
"operationId": "createUe",
|
2022-08-31 07:49:08 +00:00
|
|
|
"requestBody": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "Ue to create",
|
2022-08-31 07:49:08 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_boss": {
|
2023-05-01 14:00:17 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_item": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-04-05 06:05:14 +00:00
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv_point": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"sword": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"card": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"mode": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"token": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"cp": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"count": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_x": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_y": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_z": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_n": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"author": {
|
|
|
|
"type": "string"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"owner": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"password",
|
|
|
|
"owner"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "Ue created",
|
2022-08-31 07:49:08 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"$ref": "#/components/schemas/UeCreate"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"/ues/{id}": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue"
|
2022-08-31 07:49:08 +00:00
|
|
|
],
|
2024-02-03 06:48:28 +00:00
|
|
|
"summary": "Find a Ue by ID",
|
|
|
|
"description": "Finds the Ue with the requested ID and returns it.",
|
|
|
|
"operationId": "readUe",
|
2022-08-31 07:49:08 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "ID of the Ue",
|
2022-08-31 07:49:08 +00:00
|
|
|
"required": true,
|
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "Ue with requested ID was found",
|
2022-08-31 07:49:08 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"$ref": "#/components/schemas/UeRead"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"delete": {
|
|
|
|
"tags": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue"
|
2022-08-31 07:49:08 +00:00
|
|
|
],
|
2024-02-03 06:48:28 +00:00
|
|
|
"summary": "Deletes a Ue by ID",
|
|
|
|
"description": "Deletes the Ue with the requested ID.",
|
|
|
|
"operationId": "deleteUe",
|
2022-08-31 07:49:08 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "ID of the Ue",
|
2022-08-31 07:49:08 +00:00
|
|
|
"required": true,
|
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"204": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "Ue with requested ID was deleted"
|
2022-08-31 07:49:08 +00:00
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"patch": {
|
|
|
|
"tags": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue"
|
2022-08-31 07:49:08 +00:00
|
|
|
],
|
2024-02-03 06:48:28 +00:00
|
|
|
"summary": "Updates a Ue",
|
|
|
|
"description": "Updates a Ue and persists changes to storage.",
|
|
|
|
"operationId": "updateUe",
|
2022-08-31 07:49:08 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "ID of the Ue",
|
2022-08-31 07:49:08 +00:00
|
|
|
"required": true,
|
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"requestBody": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "Ue properties to update",
|
2022-08-31 07:49:08 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit": {
|
2023-07-20 14:18:17 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_boss": {
|
2023-07-20 14:18:17 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_item": {
|
2023-07-20 14:18:17 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv": {
|
|
|
|
"type": "integer"
|
2023-07-20 14:18:17 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv_point": {
|
|
|
|
"type": "integer"
|
2023-07-10 03:43:09 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
|
|
|
"type": "integer"
|
2023-07-10 03:43:09 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"sword": {
|
|
|
|
"type": "integer"
|
2023-05-01 14:00:17 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"card": {
|
|
|
|
"type": "integer"
|
2023-07-10 03:43:09 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"mode": {
|
2023-04-18 12:18:38 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"token": {
|
|
|
|
"type": "string"
|
2023-05-24 09:36:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"cp": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"count": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_x": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_y": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_z": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_n": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"author": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"owner": {
|
2023-09-10 08:53:30 +00:00
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "Ue updated",
|
2022-08-31 07:49:08 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"$ref": "#/components/schemas/UeUpdate"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"$ref": "#/components/responses/404"
|
|
|
|
},
|
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"/ues/{id}/owner": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue"
|
2022-08-31 07:49:08 +00:00
|
|
|
],
|
2024-02-03 06:48:28 +00:00
|
|
|
"summary": "Find the attached User",
|
|
|
|
"description": "Find the attached User of the Ue with the given ID",
|
|
|
|
"operationId": "readUeOwner",
|
2022-08-31 07:49:08 +00:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"in": "path",
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "ID of the Ue",
|
2022-08-31 07:49:08 +00:00
|
|
|
"required": true,
|
|
|
|
"schema": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
2024-02-03 06:48:28 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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"
|
2022-08-31 07:49:08 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"409": {
|
|
|
|
"$ref": "#/components/responses/409"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"$ref": "#/components/responses/500"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/users": {
|
|
|
|
"get": {
|
|
|
|
"tags": [
|
|
|
|
"User"
|
|
|
|
],
|
|
|
|
"summary": "List Users",
|
|
|
|
"description": "List Users.",
|
|
|
|
"operationId": "listUser",
|
|
|
|
"parameters": [
|
2022-08-31 07:49:08 +00:00
|
|
|
{
|
|
|
|
"name": "page",
|
|
|
|
"in": "query",
|
|
|
|
"description": "what page to render",
|
|
|
|
"schema": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "itemsPerPage",
|
|
|
|
"in": "query",
|
|
|
|
"description": "item count to render per page",
|
|
|
|
"schema": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"type": "integer",
|
|
|
|
"maximum": 5000,
|
|
|
|
"minimum": 1
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"description": "result User list",
|
2022-08-31 07:49:08 +00:00
|
|
|
"content": {
|
|
|
|
"application/json": {
|
|
|
|
"schema": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2024-02-03 06:48:28 +00:00
|
|
|
"$ref": "#/components/schemas/UserList"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"$ref": "#/components/responses/400"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"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"
|
|
|
|
},
|
2024-02-21 19:08:34 +00:00
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"card": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ue": {
|
|
|
|
"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"
|
|
|
|
},
|
2024-02-21 19:08:34 +00:00
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"card": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ue": {
|
|
|
|
"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}/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"
|
2024-02-21 19:08:34 +00:00
|
|
|
},
|
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2024-02-03 06:48:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
2022-08-31 07:49:08 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"ten_su": {
|
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"ten_kai": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "integer"
|
2024-02-03 06:48:28 +00:00
|
|
|
},
|
|
|
|
"aiten": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"ten_card": {
|
2023-04-05 06:05:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"ten_delete": {
|
2023-05-03 10:16:36 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"ten_post": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"ten_get": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"ten_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 07:49:08 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"next": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"room": {
|
2023-08-21 13:13:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
|
|
|
"type": "boolean"
|
2023-08-21 13:13:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model_at": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model_attack": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model_limit": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model_skill": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model_mode": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model_critical": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model_critical_d": {
|
2023-08-21 13:13:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"game": {
|
|
|
|
"type": "boolean"
|
2023-08-21 13:13:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"game_test": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"game_end": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"game_account": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"game_lv": {
|
|
|
|
"type": "integer"
|
2024-02-21 19:08:34 +00:00
|
|
|
},
|
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"id",
|
|
|
|
"username"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit": {
|
|
|
|
"type": "boolean"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_boss": {
|
|
|
|
"type": "boolean"
|
2023-05-03 10:16:36 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_item": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"password": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv_point": {
|
2023-08-21 13:13:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
|
|
|
"type": "integer"
|
2023-08-21 13:13:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"sword": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"card": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"mode": {
|
2023-05-03 10:16:36 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"token": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"cp": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-08-21 13:13:44 +00:00
|
|
|
"count": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_x": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"location_y": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"location_z": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"location_n": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-08-21 13:13:44 +00:00
|
|
|
"author": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2024-02-03 06:48:28 +00:00
|
|
|
},
|
|
|
|
"owner": {
|
|
|
|
"$ref": "#/components/schemas/User"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"id",
|
|
|
|
"password",
|
|
|
|
"owner"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"UeCreate": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit": {
|
|
|
|
"type": "boolean"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_boss": {
|
|
|
|
"type": "boolean"
|
2023-05-03 10:16:36 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_item": {
|
|
|
|
"type": "boolean"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv_point": {
|
2023-08-21 13:13:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
|
|
|
"type": "integer"
|
2023-08-21 13:13:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"sword": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"card": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"mode": {
|
2023-04-13 07:50:11 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"cp": {
|
|
|
|
"type": "integer"
|
2023-07-20 14:18:17 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"count": {
|
|
|
|
"type": "integer"
|
2023-07-20 14:18:17 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_x": {
|
|
|
|
"type": "integer"
|
2023-07-20 14:18:17 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_y": {
|
|
|
|
"type": "integer"
|
2023-07-10 03:43:09 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_z": {
|
|
|
|
"type": "integer"
|
2023-07-10 03:43:09 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_n": {
|
|
|
|
"type": "integer"
|
2023-05-01 14:00:17 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"author": {
|
|
|
|
"type": "string"
|
2023-07-10 03:43:09 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2024-02-03 06:48:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"UeList": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
2022-08-31 07:49:08 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit": {
|
|
|
|
"type": "boolean"
|
2023-05-24 09:36:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_boss": {
|
|
|
|
"type": "boolean"
|
2023-09-10 08:53:30 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_item": {
|
|
|
|
"type": "boolean"
|
2023-07-23 14:40:24 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv_point": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"sword": {
|
|
|
|
"type": "integer"
|
2023-05-24 09:36:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"card": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"mode": {
|
|
|
|
"type": "string"
|
2023-05-24 09:36:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"cp": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"count": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_x": {
|
2023-07-10 03:43:09 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_y": {
|
|
|
|
"type": "integer"
|
2023-05-24 09:36:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_z": {
|
|
|
|
"type": "integer"
|
2023-05-24 09:36:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_n": {
|
|
|
|
"type": "integer"
|
2023-05-24 09:36:44 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"author": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"created_at": {
|
2023-05-24 09:36:44 +00:00
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2024-02-03 06:48:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"UeRead": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2023-09-10 08:53:30 +00:00
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_boss": {
|
|
|
|
"type": "boolean"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit_item": {
|
|
|
|
"type": "boolean"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv_point": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"sword": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"card": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"mode": {
|
|
|
|
"type": "string"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"cp": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"count": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_x": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_y": {
|
2023-11-03 02:24:42 +00:00
|
|
|
"type": "integer"
|
2024-02-03 06:48:28 +00:00
|
|
|
},
|
|
|
|
"location_z": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"location_n": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"author": {
|
2023-04-05 06:05:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"id"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"UeUpdate": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"limit": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"limit_boss": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"limit_item": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"lv": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"lv_point": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"model": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"sword": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"card": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"mode": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "string"
|
2024-02-03 06:48:28 +00:00
|
|
|
},
|
|
|
|
"cp": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"count": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"location_x": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"location_y": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"location_z": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"location_n": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"author": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
2024-02-03 06:48:28 +00:00
|
|
|
},
|
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2024-02-03 06:48:28 +00:00
|
|
|
"id"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
2024-02-03 06:48:28 +00:00
|
|
|
"Ue_OwnerRead": {
|
2022-08-31 07:49:08 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"username": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-04-13 07:50:11 +00:00
|
|
|
"did": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-20 14:18:17 +00:00
|
|
|
"member": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"book": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"manga": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"badge": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"bsky": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"mastodon": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-01 14:00:17 +00:00
|
|
|
"delete": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"handle": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-08-31 06:18:14 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"updated_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"raid_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-09-10 08:53:30 +00:00
|
|
|
"server_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-23 14:40:24 +00:00
|
|
|
"egg_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"luck": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"luck_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"like": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_rank": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"fav": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"ten_su": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"ten_kai": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"aiten": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten_card": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_delete": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_post": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_get": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"next": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
2023-09-10 08:53:30 +00:00
|
|
|
},
|
|
|
|
"room": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
|
|
|
"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"
|
2024-02-21 19:08:34 +00:00
|
|
|
},
|
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2023-07-01 14:21:48 +00:00
|
|
|
"id",
|
|
|
|
"username"
|
2022-08-31 06:18:14 +00:00
|
|
|
]
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"User": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"username": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-04-13 07:50:11 +00:00
|
|
|
"did": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-20 14:18:17 +00:00
|
|
|
"member": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"book": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"manga": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"badge": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"bsky": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"mastodon": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-01 14:00:17 +00:00
|
|
|
"delete": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"handle": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-04-18 12:18:38 +00:00
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-04-05 06:05:14 +00:00
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"updated_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"raid_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-09-10 08:53:30 +00:00
|
|
|
"server_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-23 14:40:24 +00:00
|
|
|
"egg_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"luck": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"luck_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"like": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_rank": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"fav": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"ten_su": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"ten_kai": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"aiten": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten_card": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_delete": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_post": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_get": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"next": {
|
|
|
|
"type": "string"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2023-09-10 08:53:30 +00:00
|
|
|
"room": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-11-03 02:24:42 +00:00
|
|
|
"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"
|
|
|
|
},
|
2024-02-21 19:08:34 +00:00
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"card": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/components/schemas/Card"
|
|
|
|
}
|
2024-02-03 06:48:28 +00:00
|
|
|
},
|
|
|
|
"ue": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/components/schemas/Ue"
|
|
|
|
}
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id",
|
2023-07-01 14:21:48 +00:00
|
|
|
"username",
|
2023-04-05 06:05:14 +00:00
|
|
|
"password"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"UserCreate": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"username": {
|
|
|
|
"type": "string"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2023-04-13 07:50:11 +00:00
|
|
|
"did": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-20 14:18:17 +00:00
|
|
|
"member": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"book": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"manga": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"badge": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"bsky": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"mastodon": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-01 14:00:17 +00:00
|
|
|
"delete": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"handle": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"updated_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"raid_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-09-10 08:53:30 +00:00
|
|
|
"server_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-23 14:40:24 +00:00
|
|
|
"egg_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"luck": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"luck_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"like": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_rank": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"fav": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"ten_su": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"ten_kai": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"aiten": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten_card": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_delete": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_post": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_get": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"next": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
2023-09-10 08:53:30 +00:00
|
|
|
},
|
|
|
|
"room": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
|
|
|
"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"
|
2024-02-21 19:08:34 +00:00
|
|
|
},
|
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2023-07-01 14:21:48 +00:00
|
|
|
"id",
|
|
|
|
"username"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"UserList": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"username": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-04-13 07:50:11 +00:00
|
|
|
"did": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-20 14:18:17 +00:00
|
|
|
"member": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"book": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"manga": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"badge": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"bsky": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"mastodon": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-01 14:00:17 +00:00
|
|
|
"delete": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"handle": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-08-31 06:18:14 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"updated_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"raid_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-09-10 08:53:30 +00:00
|
|
|
"server_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-23 14:40:24 +00:00
|
|
|
"egg_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"luck": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"luck_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"like": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_rank": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"fav": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"ten_su": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"ten_kai": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"aiten": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten_card": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_delete": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_post": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_get": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"next": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
2023-09-10 08:53:30 +00:00
|
|
|
},
|
|
|
|
"room": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
|
|
|
"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"
|
2024-02-21 19:08:34 +00:00
|
|
|
},
|
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2023-07-01 14:21:48 +00:00
|
|
|
"id",
|
|
|
|
"username"
|
2022-08-31 06:18:14 +00:00
|
|
|
]
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"UserRead": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"username": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-04-13 07:50:11 +00:00
|
|
|
"did": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-20 14:18:17 +00:00
|
|
|
"member": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"book": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"manga": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"badge": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"bsky": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"mastodon": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-01 14:00:17 +00:00
|
|
|
"delete": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"handle": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"updated_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"raid_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-09-10 08:53:30 +00:00
|
|
|
"server_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-23 14:40:24 +00:00
|
|
|
"egg_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"luck": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"luck_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"like": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_rank": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"fav": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"ten_su": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"ten_kai": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"aiten": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten_card": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_delete": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_post": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_get": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"next": {
|
|
|
|
"type": "string"
|
2023-09-10 08:53:30 +00:00
|
|
|
},
|
|
|
|
"room": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
|
|
|
"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"
|
2024-02-21 19:08:34 +00:00
|
|
|
},
|
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2023-07-01 14:21:48 +00:00
|
|
|
"id",
|
|
|
|
"username"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"UserUpdate": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"username": {
|
|
|
|
"type": "string"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2023-04-13 07:50:11 +00:00
|
|
|
"did": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-07-20 14:18:17 +00:00
|
|
|
"member": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"book": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"manga": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"badge": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"bsky": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"mastodon": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-01 14:00:17 +00:00
|
|
|
"delete": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"handle": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"updated_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"raid_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-09-10 08:53:30 +00:00
|
|
|
"server_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-23 14:40:24 +00:00
|
|
|
"egg_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"luck": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"luck_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"like": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_rank": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"like_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"fav": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"ten_su": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"ten_kai": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-07-10 03:43:09 +00:00
|
|
|
"aiten": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-24 09:36:44 +00:00
|
|
|
"ten_card": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_delete": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_post": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_get": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ten_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"next": {
|
|
|
|
"type": "string"
|
2023-09-10 08:53:30 +00:00
|
|
|
},
|
|
|
|
"room": {
|
|
|
|
"type": "integer"
|
2023-11-03 02:24:42 +00:00
|
|
|
},
|
|
|
|
"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"
|
2024-02-21 19:08:34 +00:00
|
|
|
},
|
|
|
|
"coin": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"coin_open": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"coin_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
2022-08-31 07:49:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2023-07-01 14:21:48 +00:00
|
|
|
"id",
|
|
|
|
"username"
|
2022-08-31 07:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"User_CardList": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"card": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-03 10:16:36 +00:00
|
|
|
"skill": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 06:18:14 +00:00
|
|
|
"status": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"cp": {
|
|
|
|
"type": "integer"
|
2022-08-31 06:18:14 +00:00
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"url": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-08-21 13:13:44 +00:00
|
|
|
"count": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-31 07:49:08 +00:00
|
|
|
"created_at": {
|
2022-08-31 06:18:14 +00:00
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2022-08-31 07:49:08 +00:00
|
|
|
"id"
|
2022-08-31 06:18:14 +00:00
|
|
|
]
|
2024-02-03 06:48:28 +00:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id"
|
|
|
|
]
|
2022-08-31 06:18:14 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-07-10 03:43:09 +00:00
|
|
|
}
|