@@ -302,7 +302,7 @@ relationship URLs.
302
302
> Note: If present, a * related resource URL* must be a valid URL, even if the
303
303
relationship isn't currently associated with any target resources.
304
304
305
- For example, the following article is associated with an ` author ` and ` comments ` :
305
+ For example, the following article is associated with an ` author ` :
306
306
307
307
``` javascript
308
308
// ...
@@ -316,9 +316,6 @@ For example, the following article is associated with an `author` and `comments`
316
316
" self" : " http://example.com/articles/1/links/author" ,
317
317
" related" : " http://example.com/articles/1/author" ,
318
318
" linkage" : { " type" : " people" , " id" : " 9" }
319
- },
320
- " comments" : {
321
- " related" : " http://example.com/articles/1/comments"
322
319
}
323
320
}
324
321
}
@@ -329,10 +326,6 @@ The `author` relationship includes a URL for the relationship itself (which
329
326
allows the client to change the related author directly), a related resource URL
330
327
to fetch the resource objects, and linkage information.
331
328
332
- The ` comments ` relationship is simpler: it just provides a related resource URL
333
- to fetch the comments. The URL can therefore be specified directly as the
334
- attribute value.
335
-
336
329
### Compound Documents <a href =" #document-structure-compound-documents " id =" document-structure-compound-documents " class =" headerlink " ></a >
337
330
338
331
To reduce the number of HTTP requests, servers ** MAY** allow responses that
0 commit comments