From 5a67ef829030c3d8b617f53b37df3045aef04275 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 7 Jun 2016 18:04:53 +0200 Subject: doc/api/file.md: Fix heading level and add TOC Signed-off-by: Florian Pritz --- doc/api/file.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/api/file.md b/doc/api/file.md index 55dd6e0bf..74120450b 100644 --- a/doc/api/file.md +++ b/doc/api/file.md @@ -1,4 +1,14 @@ -### file/get_config +# /file API endpoints + +**Table of Contents** + +- [file/get_config](#fileget_config) +- [file/upload](#fileupload) +- [file/history](#filehistory) +- [file/delete](#filedelete) +- [file/create_multipaste](#filecreate_multipaste) + +## file/get_config Request method: GET This is a public method and does not require an apikey. @@ -42,7 +52,7 @@ Example: | ------- | ------ | | 1.4.0 | Add data.{max_input_vars,request_max_size} | -### file/upload +## file/upload Required access level: `basic` @@ -91,7 +101,7 @@ Example: } ``` -### file/history +## file/history Return the currently available files/multipastes. @@ -178,7 +188,7 @@ Example: | 2.0.0 | Add ''multipaste_item.date''. Remove ''multipaste_item.{multipaste_id,user_id}''. | | 2.1.0 | Add ''item.thumbnail'' | -### file/delete +## file/delete Delete files or multipastes. Multipastes containing deleted files will also be silently removed. @@ -232,7 +242,7 @@ Example: } ``` -### file/create_multipaste +## file/create_multipaste Required access level: `basic` -- cgit v1.2.3-24-g4f1b