diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-06-07 18:13:10 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-06-07 18:13:58 +0200 |
commit | 8ce6afc4ac0014de6e4235579abb8c1168d7cff0 (patch) | |
tree | 45e054e7415bc5c513e6360463bb5e57d15a7107 /doc/api.md | |
parent | 5a67ef829030c3d8b617f53b37df3045aef04275 (diff) |
doc/api.md: Update references to endpoint documentation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'doc/api.md')
-rw-r--r-- | doc/api.md | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/api.md b/doc/api.md index d781346eb..8728f3b8f 100644 --- a/doc/api.md +++ b/doc/api.md @@ -95,8 +95,10 @@ These are the most common errors that can be returned by any API call. ## Endpoints -All return values below assume success unless stated otherwise and are the -content of the `data` field mentioned above. +Documentation for specific endpoints can be found in `./doc/api/`: + +* [Documentation for the /file/ endpoints](api/file.md) +* [Documentation for the /user/ endpoints](api/user.md) ```javascript // General definitions @@ -114,13 +116,15 @@ upload-id: String; // General success response responseSuccess = { "status": "success", - "data": object or array, + "data": object or array, // Differs per endpoint. Refer to the specific endpoint documentation. } ``` -For the examples set the following variables in your shell. Please note that -they and their values will show up in your shell history and in top/ps if used. -Be careful on untrusted systems. +### Examples + +For the examples given in the endpoint documentation, set the following +variables in your shell. Please note that they and their values will show up in +your shell history and in top/ps if used. Be careful on untrusted systems. ```bash apikey="anApiKey" |