We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d003b5 + 906aaeb commit 2c94d1aCopy full SHA for 2c94d1a
format/index.md
@@ -568,6 +568,10 @@ with a `fields[DOCUMENT_TYPE]` parameter.
568
GET /posts?include=authors&fields[posts]=id,title&fields[people]=id,name
569
```
570
571
+An endpoint SHOULD return a default set of fields for a document if no fields
572
+have been specified for its type, or if the endpoint does not support use of
573
+either `fields` or `fields[DOCUMENT_TYPE]`.
574
+
575
Note: `fields` and `fields[DOCUMENT_TYPE]` can not be mixed. If the latter
576
format is used, then it must be used for the primary document type as well.
577
0 commit comments