Actions initial commit
Some checks failed
Docker Image CI / build (push) Has been cancelled

This commit is contained in:
2025-10-16 02:52:04 +02:00
parent 13fb917c5d
commit 53276e858b
36 changed files with 1013 additions and 169 deletions

View File

@@ -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",