summaryrefslogtreecommitdiffstats
path: root/doc/api
AgeCommit message (Collapse)AuthorFilesLines
2020-10-07API: Update API version to 2.2.0Florian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-10-07API: Add `minimum-id-length` post parameterSimon Schuster1-19/+28
This parameter controls the generated id for files (file/upload) and multipastes (file/create_multipaste). The post parameter has to be a positive integer value >= 2. Changes by Florian Pritz: - minor style and typo fixes - NEWS entry - check expected error reply content in tests Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-04API: Fix return type of empty values in file/deleteFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-04API: Fix return type of empty values in file/historyFlorian Pritz1-2/+3
If the array is not casted to a object, json_encode will encode it as [] if empty, but {} if it contains data. Always return an object by casting the array to an object if it is empty. Fixes #15 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04doc/api/user.md: Document introduction of user/delete_apikeyFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc/api/file.md: Fix heading level and add TOCFlorian Pritz1-5/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc/api/user.md: Fix heading level and add TOCFlorian Pritz1-3/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc: Fix some tables rendering incorrectly on githubFlorian Pritz1-4/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc: Import documentation from wikiFlorian Pritz2-0/+397
Signed-off-by: Florian Pritz <bluewind@xinu.at>