Skip to content

Commit 0e1e17d

Browse files
committed
Add describedby example link
1 parent 2e61b52 commit 0e1e17d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_format/1.1/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,13 +556,15 @@ key in an [error object]'s links object, each key present in a links object
556556

557557
In the example below, the `self` link is simply a URI string, whereas the
558558
`related` link uses the object form to provide meta information about a
559-
related resource collection:
559+
related resource collection as well as a schema that serves as a description
560+
document for that collection:
560561

561562
```json
562563
"links": {
563-
"self": "http://example.com/articles/1",
564+
"self": "http://example.com/articles/1/relationships/comments",
564565
"related": {
565566
"href": "http://example.com/articles/1/comments",
567+
"describedby": "http://example.com/schemas/article-comments",
566568
"meta": {
567569
"count": 10
568570
}

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