Skip to content

Commit 061bfd6

Browse files
authored
support extension usage for relationship links (json-api#1650)
1 parent e4c880c commit 061bfd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_format/1.1/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,8 +1831,8 @@ relationship is deleted (as a garbage collection measure).
18311831

18321832
#### <a href="#crud-updating-to-one-relationships" id="crud-updating-to-one-relationships" class="headerlink"></a> Updating To-One Relationships
18331833

1834-
A server **MUST** respond to `PATCH` requests to a URL from a to-one
1835-
[relationship link][relationships] as described below.
1834+
A to-one relationship can be updated by sending a `PATCH` request to a URL
1835+
from a to-one [relationship link][relationships].
18361836

18371837
The `PATCH` request **MUST** include a top-level member named `data` containing
18381838
one of:
@@ -1869,8 +1869,8 @@ a successful response.
18691869

18701870
#### <a href="#crud-updating-to-many-relationships" id="crud-updating-to-many-relationships" class="headerlink"></a> Updating To-Many Relationships
18711871

1872-
A server **MUST** respond to `PATCH`, `POST`, and `DELETE` requests to a
1873-
URL from a to-many [relationship link][relationships] as described below.
1872+
A to-many relationship can be updated by sending a `PATCH`, `POST`, or
1873+
`DELETE` request to a URL from a to-many [relationship link][relationships].
18741874

18751875
For all request types, the body **MUST** contain a `data` member whose value
18761876
is an empty array or an array of [resource identifier objects][resource identifier object].

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy