File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -556,13 +556,15 @@ key in an [error object]'s links object, each key present in a links object
556
556
557
557
In the example below, the ` self ` link is simply a URI string, whereas the
558
558
` 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:
560
561
561
562
``` json
562
563
"links" : {
563
- "self" : " http://example.com/articles/1" ,
564
+ "self" : " http://example.com/articles/1/relationships/comments " ,
564
565
"related" : {
565
566
"href" : " http://example.com/articles/1/comments" ,
567
+ "describedby" : " http://example.com/schemas/article-comments" ,
566
568
"meta" : {
567
569
"count" : 10
568
570
}
You can’t perform that action at this time.
0 commit comments