From 35ebaaa79f4a0283256ec21918328f2dda1b8cc5 Mon Sep 17 00:00:00 2001 From: Hubert Van De Walle Date: Mon, 20 Apr 2020 00:13:32 +0200 Subject: [PATCH] Update api docs --- api-doc/notes/index.apib | 1 - docs/index.html | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/api-doc/notes/index.apib b/api-doc/notes/index.apib index 95a9892..2ca1111 100644 --- a/api-doc/notes/index.apib +++ b/api-doc/notes/index.apib @@ -54,7 +54,6 @@ + Response 200 (application/json) + Attributes (object) - + title: Kotlin (string) + tags: Dev, Server (array[string]) + chapters (array) + (Chapter) diff --git a/docs/index.html b/docs/index.html index 295d5b7..c840ea6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -113,7 +113,6 @@ } }
Responses201409
This response has no content.
This response has no content.

Create a Note
POST/notes/{noteTitle}

URI Parameters
HideShow
noteTitle
string (required) Example: Kotlin

The title of the Note.


GET http://localhost:5000/notes/Kotlin
Requestsexample 1
Headers
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Responses200404
Headers
Content-Type: application/json
Body
{
-  "title": "Kotlin",
   "tags": [
     "Dev",
     "Server"
@@ -132,9 +131,6 @@
   "$schema": "http://json-schema.org/draft-04/schema#",
   "type": "object",
   "properties": {
-    "title": {
-      "type": "string"
-    },
     "tags": {
       "type": "array"
     },
@@ -221,7 +217,7 @@
       "type": "array"
     }
   }
-}

Get all tags
GET/tags


Generated by aglio on 19 Apr 2020