Commit Graph

20 Commits

Author SHA1 Message Date
Michael Price
ff9e291cd7 Re-enable the API root path and exclude it from schema introspection.
Signed-off-by: Michael Price <loneviking72@gmail.com>
2018-04-01 20:22:26 -04:00
Michael Price
d173f9f863 Disable the root API path as this confuses Swagger which then groups all endpoints into a single dropdown.
Signed-off-by: Michael Price <loneviking72@gmail.com>
2018-04-01 20:22:13 -04:00
Michael Price
49bb7c879e Add root API showing the new endpoints.
Signed-off-by: Michael Price <loneviking72@gmail.com>
2018-04-01 20:00:38 -04:00
Michael Price
e1956f8d80 Get rids of the APIEndPoint and APIResource classes. Register API url using the 'has_rest_api' AppConfig variable.
Signed-off-by: Michael Price <loneviking72@gmail.com>
2018-04-01 18:30:59 -04:00
Michael Price
b4bf9bfaee Switch to a resource and service based API from previous app based one.
Signed-off-by: Michael Price <loneviking72@gmail.com>
2018-04-01 18:28:40 -04:00
Roberto Rosario
2df6cb7985 Remove usage of url.patterns as per Django's deprecation warnings. 2016-11-04 04:02:48 -04:00
Roberto Rosario
83c8f28455 Cleanups. 2015-09-28 04:15:37 -04:00
Roberto Rosario
20398174a8 Initial commit for top level api URLS. 2015-09-28 04:05:03 -04:00
Roberto Rosario
ea02172a82 Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace. 2015-08-06 02:50:14 -04:00
Roberto Rosario
1e746c700a PEP8 cleanups. 2015-07-27 23:53:14 -04:00
Roberto Rosario
4527563d89 PEP8 cleanups, specially E501 line too long. 2015-07-22 18:21:37 -04:00
Roberto Rosario
e9ae8905b4 PEP8 Cleanups 2015-05-18 19:58:03 -04:00
Roberto Rosario
d59ea3ede2 Add from __future__ import unicode_literals, issue #37 2015-01-19 04:06:40 -04:00
Roberto Rosario
074110b9de Add missing slash 2014-10-30 13:22:16 -04:00
Roberto Rosario
3c4ddecf80 Enable token authentication for the API, add API token request view 2014-07-24 01:03:51 -04:00
Roberto Rosario
909dd582df Update the app API class methods, register the sources app main endpoint, add API doc strings 2014-07-08 18:51:39 -04:00
Roberto Rosario
0d0f7be532 Change the way API endpoints are registered 2014-07-08 17:11:55 -04:00
Roberto Rosario
0cda1148bb Manual merge of the new document preview code from the unstable branch 2014-07-02 02:53:53 -04:00
Roberto Rosario
3b73936723 Update patterns, url imports in all of the project's urls.py files 2014-06-26 15:27:03 -04:00
Roberto Rosario
ec1745b50b Initial changes to support the new Django 1.6 project structure 2014-06-15 13:13:21 +02:00