summaryrefslogtreecommitdiffstats
path: root/application/controllers/api/v1
AgeCommit message (Collapse)AuthorFilesLines
2016-11-05api/user/create_apikey: Directly log in with username/pwFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21mfile->add_file: Take userid via argumentFlorian Pritz1-1/+2
This allows for easier testing. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04service\files->get_multipaste_history: Add sort order from DBFlorian Pritz1-0/+5
Keep this field private for now. I may be exposed at a later time. The returned values are already normalized so they can be safely exposed. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-20API 2.1: Add thumbnail link to historyFlorian Pritz1-0/+3
Also adjust test cases to check for the new value. API v1 does not change. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-14API 1.4: Add more values to file/get_configFlorian Pritz2-2/+3
These are necessary for clients that want to send lots of fields e.g. in a delete request or upload multiple files in one upload request. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-25API 1.3.0: Allow multipaste creation for basic accessFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-25API 1.2.0: Add user/delete_apikeys endpointFlorian Pritz2-1/+28
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-03-08api/file/create_multipase: return URLFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-22s\files: rename add_file to add_uploaded_fileFlorian Pritz1-1/+1
It doesn't add any file so it should have that name. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-14Fix typo in error messageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03api: implement file/create_multipasteFlorian Pritz1-0/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03api: implement file/deleteFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03api: handle json reply in api controllerFlorian Pritz2-8/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03implement api/user/create_apikeyFlorian Pritz1-2/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-03Rework error handling in upload validatorFlorian Pritz1-4/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-02-02Rework api error handlingFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-16add some TODOsFlorian Pritz2-1/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-16add initial user apiFlorian Pritz1-0/+24
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-16add max_files_per_request to api/file/get_configFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-16improve api errorsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-16add missing filesFlorian Pritz2-0/+88
Signed-off-by: Florian Pritz <bluewind@xinu.at>