Skip to content

Commit ca2213c

Browse files
Add info about pagination applying to embedded collections
1 parent 3a8286c commit ca2213c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

using-the-rest-api/linking-and-embedding.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Embedding is triggered by setting the [`_embed` query parameter](https://develop
4848

4949
Only links with the `embedded` flag set to `true` can be embedded, and `_embed` will cause all embeddable links to be embedded. Only relations containing embedded responses are included in `_embedded`, however relations with mixed embeddable and unembeddable links will contain dummy responses for the unembeddable links to ensure numeric indexes match those in `_links`.
5050

51+
When embedding a collection response, for instance `/wp/v2/posts?author=1`, the embeded collection will have the default pagination limits applied.
5152

5253
### Example Response
5354

0 commit comments

Comments
 (0)