Skip to content
Snippets Groups Projects
Commit 0258bd63 authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

docs(component-invite): fix some markdown issues

parent 24e8a0ca
No related branches found
No related tags found
1 merge request!10Sprint #12
...@@ -7,6 +7,7 @@ This endpoint allows creates a new User, linking it to a Collection through a Te ...@@ -7,6 +7,7 @@ This endpoint allows creates a new User, linking it to a Collection through a Te
#### Invite User Request #### Invite User Request
`POST /api/collections/:collectionId/invitations` `POST /api/collections/:collectionId/invitations`
| URI Parameter | Requiered | Requirements | Description | | URI Parameter | Requiered | Requirements | Description |
| ------------- | --------- | ------------ | ------------------ | | ------------- | --------- | ------------ | ------------------ |
| collectionId | No | String | The ID of the collection | | 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 ...@@ -22,7 +23,7 @@ This endpoint allows creates a new User, linking it to a Collection through a Te
#### Invite User Response #### Invite User Response
```json ```javascript
HTTP/1.1 200 OK HTTP/1.1 200 OK
{ {
"id": "7b2431af-210c-49f9-a69a-e19271066ebd", "id": "7b2431af-210c-49f9-a69a-e19271066ebd",
...@@ -53,7 +54,7 @@ This endpoint allows you to get a list of invitations based on role. ...@@ -53,7 +54,7 @@ This endpoint allows you to get a list of invitations based on role.
#### Get Invitations Response #### Get Invitations Response
```json ```javascript
HTTP/1.1 200 OK HTTP/1.1 200 OK
[ [
{ {
...@@ -92,7 +93,7 @@ This endpoint allows you to accept or to decline an invitation. ...@@ -92,7 +93,7 @@ This endpoint allows you to accept or to decline an invitation.
#### Accept/Decline Response #### Accept/Decline Response
```json ```javascript
HTTP/1.1 200 OK HTTP/1.1 200 OK
{ {
"id": "7b2431af-210c-49f9-a69a-e19271066ebd", "id": "7b2431af-210c-49f9-a69a-e19271066ebd",
...@@ -128,7 +129,7 @@ This endpoint allows you to decline an invitation without authenticating. ...@@ -128,7 +129,7 @@ This endpoint allows you to decline an invitation without authenticating.
#### Decline Response #### Decline Response
```json ```javascript
HTTP/1.1 200 OK HTTP/1.1 200 OK
{} {}
``` ```
...@@ -148,6 +149,6 @@ This endpoint allows you to delete an invitation. ...@@ -148,6 +149,6 @@ This endpoint allows you to delete an invitation.
#### Delete Invitation Response #### Delete Invitation Response
```json ```javascript
HTTP/1.1 204 No Content HTTP/1.1 204 No Content
``` ```
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment