105bbbd181
* API documentation Using apiDocjs to generate it. When updating API, you should back up all old comments of the api in _apidoc.json under the History comment * Update rss handler * API documentation done
33 lignes
877 o
JSON
33 lignes
877 o
JSON
{
|
|
"name": "nyaapantsu",
|
|
"version": "1.0.0",
|
|
"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-07-09T12:38:21.771Z",
|
|
"url": "http://apidocjs.com",
|
|
"version": "0.17.6"
|
|
}
|
|
}
|