From 0258bd63a45142ba6b24a2f1ddd9d9c644620e97 Mon Sep 17 00:00:00 2001 From: Sebastian Mihalache <sebastian.mihalache@gmail.con> Date: Thu, 24 May 2018 14:54:05 +0300 Subject: [PATCH] docs(component-invite): fix some markdown issues --- packages/component-invite/README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/component-invite/README.md b/packages/component-invite/README.md index f40d9ef50..a4f9beb8f 100644 --- a/packages/component-invite/README.md +++ b/packages/component-invite/README.md @@ -7,6 +7,7 @@ This endpoint allows creates a new User, linking it to a Collection through a Te #### Invite User Request `POST /api/collections/:collectionId/invitations` + | URI Parameter | Requiered | Requirements | Description | | ------------- | --------- | ------------ | ------------------ | | collectionId | No | String | The ID of the collection | @@ -22,7 +23,7 @@ This endpoint allows creates a new User, linking it to a Collection through a Te #### Invite User Response -```json +```javascript HTTP/1.1 200 OK { "id": "7b2431af-210c-49f9-a69a-e19271066ebd", @@ -53,7 +54,7 @@ This endpoint allows you to get a list of invitations based on role. #### Get Invitations Response -```json +```javascript HTTP/1.1 200 OK [ { @@ -92,7 +93,7 @@ This endpoint allows you to accept or to decline an invitation. #### Accept/Decline Response -```json +```javascript HTTP/1.1 200 OK { "id": "7b2431af-210c-49f9-a69a-e19271066ebd", @@ -128,7 +129,7 @@ This endpoint allows you to decline an invitation without authenticating. #### Decline Response -```json +```javascript HTTP/1.1 200 OK {} ``` @@ -148,6 +149,6 @@ This endpoint allows you to delete an invitation. #### Delete Invitation Response -```json +```javascript HTTP/1.1 204 No Content ``` \ No newline at end of file -- GitLab