mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
update docs and bump ver for tag
MatriX.132.2
This commit is contained in:
@@ -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}": {
|
"/play/{hash}/{id}": {
|
||||||
"get": {
|
"get": {
|
||||||
"description": "Play given torrent referenced by hash.",
|
"description": "Play given torrent referenced by hash.",
|
||||||
|
|||||||
@@ -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}": {
|
"/play/{hash}/{id}": {
|
||||||
"get": {
|
"get": {
|
||||||
"description": "Play given torrent referenced by hash.",
|
"description": "Play given torrent referenced by hash.",
|
||||||
|
|||||||
@@ -397,51 +397,6 @@ paths:
|
|||||||
summary: Get HTML of magnet links
|
summary: Get HTML of magnet links
|
||||||
tags:
|
tags:
|
||||||
- Pages
|
- 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}:
|
/play/{hash}/{id}:
|
||||||
get:
|
get:
|
||||||
description: Play given torrent referenced by hash.
|
description: Play given torrent referenced by hash.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
// "github.com/anacrolix/torrent"
|
// "github.com/anacrolix/torrent"
|
||||||
)
|
)
|
||||||
|
|
||||||
const Version = "MatriX.132.1"
|
const Version = "MatriX.132.2"
|
||||||
|
|
||||||
func GetTorrentVersion() string {
|
func GetTorrentVersion() string {
|
||||||
bi, ok := debug.ReadBuildInfo()
|
bi, ok := debug.ReadBuildInfo()
|
||||||
|
|||||||
Reference in New Issue
Block a user