33c83030b9
* Fix Api documetation Fix #1682 * Remove unused SubCategory field from struct TorrentRequest * Change `category` argument in documentation to correct `c` (same key as the one in Search) * Apidoc generation * Remove SubCategory from template_test's torrentValidator * Update template_test.go
33 lignes
877 o
JSON
33 lignes
877 o
JSON
{
|
|
"name": "nyaapantsu",
|
|
"version": "1.1.1",
|
|
"description": "How to use the Nyaa Pantsu API",
|
|
"title": "Nyaa Pantsu API documentation",
|
|
"url": "https://nyaa.pantsu.cat/api",
|
|
"header": {
|
|
"title": "Information",
|
|
"content": "<h1>Information</h1>\n<p>You can use this API without being logged or any token API</p>\n<h2>Except for Upload</h2>\n<p>When you upload, you have to provide your username and API token!</p>\n"
|
|
},
|
|
"order": [
|
|
"GetTorrents",
|
|
"FindTorrents",
|
|
"GetTorrent",
|
|
"GetTorrentHead",
|
|
"UploadTorrent",
|
|
"UpdateTorrent",
|
|
"Login"
|
|
],
|
|
"template": {
|
|
"withCompare": true,
|
|
"withGenerator": true
|
|
},
|
|
"sampleUrl": false,
|
|
"defaultVersion": "0.0.0",
|
|
"apidoc": "0.3.0",
|
|
"generator": {
|
|
"name": "apidoc",
|
|
"time": "2017-10-18T18:26:13.462Z",
|
|
"url": "http://apidocjs.com",
|
|
"version": "0.17.6"
|
|
}
|
|
}
|