Skip to content

Commit b4d640d

Browse files
committed
remove comments example
1 parent 6d1efa7 commit b4d640d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

format/index.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ relationship URLs.
302302
> Note: If present, a *related resource URL* must be a valid URL, even if the
303303
relationship isn't currently associated with any target resources.
304304

305-
For example, the following article is associated with an `author` and `comments`:
305+
For example, the following article is associated with an `author`:
306306

307307
```javascript
308308
// ...
@@ -316,9 +316,6 @@ For example, the following article is associated with an `author` and `comments`
316316
"self": "http://example.com/articles/1/links/author",
317317
"related": "http://example.com/articles/1/author",
318318
"linkage": { "type": "people", "id": "9" }
319-
},
320-
"comments": {
321-
"related": "http://example.com/articles/1/comments"
322319
}
323320
}
324321
}
@@ -329,10 +326,6 @@ The `author` relationship includes a URL for the relationship itself (which
329326
allows the client to change the related author directly), a related resource URL
330327
to fetch the resource objects, and linkage information.
331328

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-
336329
### Compound Documents <a href="#document-structure-compound-documents" id="document-structure-compound-documents" class="headerlink"></a>
337330

338331
To reduce the number of HTTP requests, servers **MAY** allow responses that

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