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 @@ -248,7 +248,7 @@ can be specified by including a member in a resource's links object.
248
248
249
249
The name of the relationship declared in the key ** SHALL NOT** be ` "self" ` .
250
250
251
- The value of a relationship ** MUST** be a "link object", and ** MUST** contain at
251
+ The value of a relationship ** MUST** be an object ( a "link object") , and ** MUST** contain at
252
252
least one of the following:
253
253
254
254
* A ` "self" ` member, whose value is a URL for the relationship itself (a
@@ -304,7 +304,9 @@ For example, the following article is associated with an `author` and `comments`
304
304
" related" : " http://example.com/articles/1/author" ,
305
305
" linkage" : { " type" : " people" , " id" : " 9" }
306
306
},
307
- " comments" : " http://example.com/articles/1/comments"
307
+ " comments" : {
308
+ " related" : " http://example.com/articles/1/comments"
309
+ }
308
310
}
309
311
}
310
312
// ...
You can’t perform that action at this time.
0 commit comments