From 6dd5500c8bee026cf4aae6f263d9259bc34678e8 Mon Sep 17 00:00:00 2001 From: Wixplorer Date: Thu, 1 Jun 2023 12:46:10 +0300 Subject: [PATCH] Auto commit from WixDocs server --- .../events---policies/docs/fieldsets.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 all/guides/events---policies/docs/fieldsets.md diff --git a/all/guides/events---policies/docs/fieldsets.md b/all/guides/events---policies/docs/fieldsets.md new file mode 100644 index 00000000000..b3db7069488 --- /dev/null +++ b/all/guides/events---policies/docs/fieldsets.md @@ -0,0 +1,22 @@ +SortOrder: 3 +# Fieldset + +Fieldset is a unified control for additional data that can be returned in the response. + +## Policy fieldset + +By default, the `policy` data in the response contains `id`, `eventId`, `name`, `updated_date` and `sortIndex` fields. +The response will also include following parameters based on the fieldsets provided in the request. + + | Fieldset | Fields | + |------------------|--------------------------------| + | BODY | `body` | + +## Token fieldset + +By default, the get tokens response contains only `token` field. +The response will also include following parameters based on the fieldsets provided in the request. + + | Fieldset | Fields | + |------------------|--------------------------------| + | POLICIES | `policies` |