update docs and bump ver for tag

MatriX.132.2
This commit is contained in:
nikk gitanes
2024-05-12 19:17:08 +03:00
parent ae52221426
commit 32fc6927ff
4 changed files with 1 additions and 184 deletions

View File

@@ -148,75 +148,6 @@ const docTemplate = `{
}
}
},
"/msx/imdb": {
"get": {
"description": "Get MSX IMDB informations.",
"produces": [
"application/json"
],
"tags": [
"MSX"
],
"summary": "Get MSX IMDB informations",
"responses": {
"200": {
"description": "JSON MSX IMDB informations"
}
}
}
},
"/msx/imdb/{id}": {
"get": {
"description": "Get MSX IMDB informations.",
"produces": [
"application/json"
],
"tags": [
"MSX"
],
"summary": "Get MSX IMDB informations",
"parameters": [
{
"type": "string",
"description": "IMDB ID",
"name": "id",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "JSON MSX IMDB informations"
}
}
}
},
"/msx/{pth}": {
"get": {
"description": "Multi usage endpoint.",
"produces": [
"application/json"
],
"tags": [
"MSX"
],
"summary": "Multi usage endpoint",
"parameters": [
{
"type": "string",
"description": "Route MSX pages",
"name": "link",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Data returned according to path"
}
}
}
},
"/play/{hash}/{id}": {
"get": {
"description": "Play given torrent referenced by hash.",

View File

@@ -141,75 +141,6 @@
}
}
},
"/msx/imdb": {
"get": {
"description": "Get MSX IMDB informations.",
"produces": [
"application/json"
],
"tags": [
"MSX"
],
"summary": "Get MSX IMDB informations",
"responses": {
"200": {
"description": "JSON MSX IMDB informations"
}
}
}
},
"/msx/imdb/{id}": {
"get": {
"description": "Get MSX IMDB informations.",
"produces": [
"application/json"
],
"tags": [
"MSX"
],
"summary": "Get MSX IMDB informations",
"parameters": [
{
"type": "string",
"description": "IMDB ID",
"name": "id",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "JSON MSX IMDB informations"
}
}
}
},
"/msx/{pth}": {
"get": {
"description": "Multi usage endpoint.",
"produces": [
"application/json"
],
"tags": [
"MSX"
],
"summary": "Multi usage endpoint",
"parameters": [
{
"type": "string",
"description": "Route MSX pages",
"name": "link",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Data returned according to path"
}
}
}
},
"/play/{hash}/{id}": {
"get": {
"description": "Play given torrent referenced by hash.",

View File

@@ -397,51 +397,6 @@ paths:
summary: Get HTML of magnet links
tags:
- Pages
/msx/{pth}:
get:
description: Multi usage endpoint.
parameters:
- description: Route MSX pages
in: path
name: link
required: true
type: string
produces:
- application/json
responses:
"200":
description: Data returned according to path
summary: Multi usage endpoint
tags:
- MSX
/msx/imdb:
get:
description: Get MSX IMDB informations.
produces:
- application/json
responses:
"200":
description: JSON MSX IMDB informations
summary: Get MSX IMDB informations
tags:
- MSX
/msx/imdb/{id}:
get:
description: Get MSX IMDB informations.
parameters:
- description: IMDB ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: JSON MSX IMDB informations
summary: Get MSX IMDB informations
tags:
- MSX
/play/{hash}/{id}:
get:
description: Play given torrent referenced by hash.

View File

@@ -6,7 +6,7 @@ import (
// "github.com/anacrolix/torrent"
)
const Version = "MatriX.132.1"
const Version = "MatriX.132.2"
func GetTorrentVersion() string {
bi, ok := debug.ReadBuildInfo()