Skip to content

Commit fb6abd8

Browse files
committed
Re-organize a bit the Document objects paragraph
1 parent 9e9c877 commit fb6abd8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docusaurus/docs/cms/api/document-service.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ Document methods return a document object or a list of document objects, which r
5151

5252
- `documentId`: Persistent identifier for the entry across locales and draft/published versions.
5353
- `id`: Database identifier for the specific locale/version record.
54-
- Metadata: `locale`, `publishedAt`, `createdAt`, `updatedAt`, and `createdBy`/`updatedBy` when available.
55-
- Model fields: All fields defined in the content-type schema. Relations, components, and dynamic zones are not populated unless you opt in with `populate` (see [Populating fields](/cms/api/document-service/populate)) or limit fields with `fields` (see [Selecting fields](/cms/api/document-service/fields)).
54+
- model fields: All fields defined in the content-type schema. Relations, components, and dynamic zones are not populated unless you opt in with `populate` (see [Populating fields](/cms/api/document-service/populate)) or limit fields with `fields` (see [Selecting fields](/cms/api/document-service/fields)).
55+
- metadata: `publishedAt`, `createdAt`, `updatedAt`, and `createdBy`/`updatedBy` when available.
56+
57+
Optionally, document objects can also include a `status` and `locale` property if [Draft & Publish](/cms/features/draft-and-publish) and [Internationalization](/cms/features/Internationalization) are enabled for the content-type.
5658

5759
## Method overview
5860

0 commit comments

Comments
 (0)