update docs and web

This commit is contained in:
nikk gitanes
2024-04-10 00:08:09 +03:00
parent 2a3b1d942e
commit 2f505275e7
7 changed files with 67 additions and 35 deletions

View File

@@ -517,6 +517,12 @@ const docTemplate = `{
"name": "title",
"in": "formData"
},
{
"type": "string",
"description": "Torrent category",
"name": "category",
"in": "formData"
},
{
"type": "string",
"description": "Torrent poster",
@@ -638,6 +644,9 @@ const docTemplate = `{
"action": {
"type": "string"
},
"category": {
"type": "string"
},
"data": {
"type": "string"
},
@@ -965,6 +974,9 @@ const docTemplate = `{
"bytes_written_data": {
"type": "integer"
},
"category": {
"type": "string"
},
"chunks_read": {
"type": "integer"
},

View File

@@ -510,6 +510,12 @@
"name": "title",
"in": "formData"
},
{
"type": "string",
"description": "Torrent category",
"name": "category",
"in": "formData"
},
{
"type": "string",
"description": "Torrent poster",
@@ -631,6 +637,9 @@
"action": {
"type": "string"
},
"category": {
"type": "string"
},
"data": {
"type": "string"
},
@@ -958,6 +967,9 @@
"bytes_written_data": {
"type": "integer"
},
"category": {
"type": "string"
},
"chunks_read": {
"type": "integer"
},

View File

@@ -18,6 +18,8 @@ definitions:
properties:
action:
type: string
category:
type: string
data:
type: string
hash:
@@ -242,6 +244,8 @@ definitions:
type: integer
bytes_written_data:
type: integer
category:
type: string
chunks_read:
type: integer
chunks_read_useful:
@@ -633,6 +637,10 @@ paths:
in: formData
name: title
type: string
- description: Torrent category
in: formData
name: category
type: string
- description: Torrent poster
in: formData
name: poster