From 2ad460c1b4550bf2d47a3d544c21da5d462bbf71 Mon Sep 17 00:00:00 2001 From: Shaun Brown Date: Fri, 6 May 2022 10:32:14 +0200 Subject: [PATCH] Remove populateCreatorFields from models --- .../latest/development/backend-customization/models.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/developer-docs/latest/development/backend-customization/models.md b/docs/developer-docs/latest/development/backend-customization/models.md index f4bacd6311..47ebe809b0 100644 --- a/docs/developer-docs/latest/development/backend-customization/models.md +++ b/docs/developer-docs/latest/development/backend-customization/models.md @@ -540,7 +540,6 @@ The `options` key is used to define specific behaviors and accepts the following | Parameter | Type | Description | | ----------------------- | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `privateAttributes` | Array of strings | Allows treating a set of attributes as private, even if they're not actually defined as attributes in the model. It could be used to remove them from API responses timestamps.

The set of `privateAttributes` defined in the model are merged with the `privateAttributes` defined in the global Strapi configuration. | -| `populateCreatorFields` | Boolean | Toggles including the `created_by` and `updated_by` fields in the API response.

Default value: `false` | | `draftAndPublish` | Boolean | Enables the draft and publish feature.

Default value: `false` | ```json @@ -549,7 +548,6 @@ The `options` key is used to define specific behaviors and accepts the following { "options": { "privateAttributes": ["id", "created_at"], - "populateCreatorFields": true, "draftAndPublish": false } }