mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-17 10:50:45 +02:00
This commit is contained in:
@@ -5,6 +5,88 @@
|
||||
"version": "2.0"
|
||||
},
|
||||
"paths": {
|
||||
"/v2/Actions/Types": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Actions"
|
||||
],
|
||||
"summary": "Returns the available Action Types (API.Schema.ActionsContext.ActionRecord.Action) performed by Tranga",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "List of performed action-types"
|
||||
},
|
||||
"500": {
|
||||
"description": "Database error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v2/Actions/Interval": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"Actions"
|
||||
],
|
||||
"summary": "Returns API.Schema.ActionsContext.ActionRecord performed in API.Controllers.ActionsController.Interval",
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json-patch+json; x-version=2.0": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Interval"
|
||||
}
|
||||
},
|
||||
"application/json; x-version=2.0": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Interval"
|
||||
}
|
||||
},
|
||||
"text/json; x-version=2.0": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Interval"
|
||||
}
|
||||
},
|
||||
"application/*+json; x-version=2.0": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Interval"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "List of performed actions"
|
||||
},
|
||||
"500": {
|
||||
"description": "Database error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v2/Actions/Type/{Type}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Actions"
|
||||
],
|
||||
"summary": "Returns API.Schema.ActionsContext.ActionRecord with type Type",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Type",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "List of performed actions"
|
||||
},
|
||||
"500": {
|
||||
"description": "Database error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v2/Chapters/{MangaId}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -1128,6 +1210,16 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Error during Database Operation",
|
||||
"content": {
|
||||
"text/plain; x-version=2.0": {
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"202": {
|
||||
"description": "Folder is going to be moved"
|
||||
}
|
||||
@@ -3401,6 +3493,20 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Interval": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"start": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"end": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"LibraryConnector": {
|
||||
"required": [
|
||||
"baseUrl",
|
||||
|
Reference in New Issue
Block a user