Skip to content

Commit 536d611

Browse files
author
Philipp Marien
committed
fixed invalid relationship path
1 parent 69b8b61 commit 536d611

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/json-api-server/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
|-------------|----------------------------------------------|------------------------------------------------------------------------------------------------------------------|
2222
| GET | /{type} | The server creates a fetch request and calls method "findResources" of the request handler. |
2323
| GET | /{type}/{id} | The server creates a fetch request and calls method "findResource" of the request handler. |
24-
| GET | /{type}/{id}/relationship/{relationshipName} | The server creates a fetch request and calls method "findRelationship" of the request handler. |
24+
| GET | /{type}/{id}/relationships/{relationshipName} | The server creates a fetch request and calls method "findRelationship" of the request handler. |
2525
| GET | /{type}/{id}/{relationshipName} | The server creates a fetch request and calls method "findRelationship" of the request handler. |
2626
| POST | /{type} | The server creates a save request and calls method "saveResource" of the request handler. |
2727
| PATCH | /{type}/{id} | The server creates a save request and calls method "saveResource" of the request handler. |
2828
| DELETE | /{type}/{id} | The server creates a simple JSON API request and calls method "deleteResource" of the request handler. |
29-
| POST | /{type}/{id}/relationship/{relationshipName} | The server creates a relationship modification request and calls method "modifyResource" of the request handler. |
30-
| PATCH | /{type}/{id}/relationship/{relationshipName} | The server creates a relationship modification request and calls method "modifyResource" of the request handler. |
31-
| DELETE | /{type}/{id}/relationship/{relationshipName} | The server creates a relationship modification request and calls method "modifyResource" of the request handler. |
29+
| POST | /{type}/{id}/relationships/{relationshipName} | The server creates a relationship modification request and calls method "modifyResource" of the request handler. |
30+
| PATCH | /{type}/{id}/relationships/{relationshipName} | The server creates a relationship modification request and calls method "modifyResource" of the request handler. |
31+
| DELETE | /{type}/{id}/relationships/{relationshipName} | The server creates a relationship modification request and calls method "modifyResource" of the request handler. |
3232

3333
## Usage
3434

0 commit comments

Comments
 (0)