From 3ee1669cdb7889684ff2e3ad72b6be45c2d173a9 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 10 Sep 2017 18:39:06 +0200 Subject: [PATCH] update api:2.2 notice #2 --- notice/api/2.2.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/notice/api/2.2.md b/notice/api/2.2.md index 739f110..09fc315 100644 --- a/notice/api/2.2.md +++ b/notice/api/2.2.md @@ -9,30 +9,30 @@ requires: Links ==== -[**I.** Overview](#I.-overview) +[**I.** Overview](#i-overview) - [**1** Introduction & features](#1-introduction--features) - [**2** Basic knowledge](#2-basic-knowledge) -[**II.** Usage](#2---usage) +[**II.** Usage](#ii-usage) - [**1** Setup](#1-setup) - [**2** Php requirements](#2-php-requirements) - [**3** From php internally](#3-from-php-internally) - [**4** From HTTP requests](#4-from-http-requests) -[**III.** Configuration](#3---configuration) +[**III.** Configuration](#iii-configuration) - [**1** Basic usage](#1-basic-usage) - [**2** Advanced usage](#2-advanced-usage) -[**IV.** Implementation](#4---implementation) +[**IV.** Implementation](#iv-implementation) - [**1** Permissions : AuthSystem](#1-permissions--authsystem) - [**2** Modules & methods](#2-modules--methods) - [**3** Automatic type check](#3-automatic-type-check) -[**V.** Class documentation](#5---class-documentation) +[**V.** Class documentation](#v-class-documentation) - [**1** Request](#1-request) - [**2** Response](#2-response) @@ -86,8 +86,8 @@ If you want to delete the article of id `52`, you must request `article/delete` -[2] - Usage -==== +> # **II.** Usage + > ## **1** Setup In order to make the API work, you have to : 1. Edit the configuration file according to your needs (cf. [configuration](#3---configuration)) @@ -232,8 +232,7 @@ Then can handle various kinds of URL : -[3] - Configuration -==== +> # **III.** Configuration ```json { @@ -280,8 +279,7 @@ _*_ If you want URL (GET) parameters, the {param_name} must be `URL_0`, `URL_1` -[4] - Implementation -==== +> # **IV.** Implementation > ## **1** Permissions : AuthSystem @@ -319,8 +317,7 @@ If you don't return the 'error' field, by default it is set to `new Error(Err::S -[5] - Class documentation -==== +> # **V.** Class documentation > ## **4** Checker