Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

9 commits

Auteur SHA1 Message Date
akuma06
33c83030b9 Fix Api documetation (#1685)
* 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
2017-10-18 22:27:55 +02:00
Kylart
0728e03f33 Update actually is a PUT method (#1680)
User actually is a GET method
2017-10-18 06:02:37 +02:00
akuma06
2dc84d03ca Fix for api (#1676)
To change the apidoc, you need to:
* change one file controllers/api/api.go
* then run the command `apidoc -i controllers/api/ -o apidoc/`
2017-10-16 19:33:14 +10:00
Kylart
353c69cf08 Corrected wrong method on profile (#1674) 2017-10-16 10:56:26 +02:00
PantsuDev
d9142a73c3 Fix most go lint warnings 2017-07-23 15:50:18 +10:00
akuma06
69123d53a9 Updated APIdoc + New API endpoint for user profile
Now you can access a user __public__ profile by querying the api endpoint /profile?id=USERID
2017-07-22 17:21:14 +02:00
akuma06
83f730dbf2 Fix #1251 by implementing the page parameter in the url.
Now /p/xx works but also ?page=xx in api search/index
2017-07-20 23:06:20 +02:00
akuma06
d423468491 Update api to 1.1.0 2017-07-20 20:55:28 +02:00
akuma06
105bbbd181 API Documentation (#1131)
* 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
2017-07-09 22:53:52 +10:00