build api docs

This commit is contained in:
nikk gitanes
2024-02-03 11:20:25 +03:00
parent efb17ee48d
commit cf3af55fb2
4 changed files with 27 additions and 21 deletions

View File

@@ -332,7 +332,7 @@ paths:
get:
description: Download the test file of given size (for speed testing purpose).
parameters:
- description: Test file size
- description: Test file size (in MB)
in: path
name: size
required: true
@@ -360,17 +360,17 @@ paths:
summary: Tests server status
tags:
- API
/ffp:
/ffp/{hash}/{id}:
get:
description: Gather informations using ffprobe.
parameters:
- description: Torrent hash
in: query
in: path
name: hash
required: true
type: string
- description: File index in torrent
in: query
in: path
name: id
required: true
type: string
@@ -438,17 +438,17 @@ paths:
summary: Get MSX IMDB informations
tags:
- MSX
/play:
/play/{hash}/{id}:
get:
description: Play given torrent referenced by hash.
parameters:
- description: Torrent hash
in: query
in: path
name: hash
required: true
type: string
- description: File index in torrent
in: query
in: path
name: id
required: true
type: string