webflow-api 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +363 -79
- package/.mock/definition/accessGroups.yml +1 -0
- package/.mock/definition/assets.yml +86 -47
- package/.mock/definition/collections/fields.yml +63 -46
- package/.mock/definition/collections/items.yml +58 -30
- package/.mock/definition/collections.yml +42 -7
- package/.mock/definition/components.yml +43 -50
- package/.mock/definition/ecommerce.yml +1 -0
- package/.mock/definition/forms.yml +114 -2
- package/.mock/definition/inventory.yml +2 -0
- package/.mock/definition/orders.yml +6 -68
- package/.mock/definition/pages/scripts.yml +10 -44
- package/.mock/definition/pages.yml +36 -41
- package/.mock/definition/products.yml +9 -0
- package/.mock/definition/scripts.yml +18 -49
- package/.mock/definition/sites/activityLogs.yml +10 -7
- package/.mock/definition/sites/plans.yml +7 -1
- package/.mock/definition/sites/redirects.yml +24 -1
- package/.mock/definition/sites/robotsTxt.yml +202 -0
- package/.mock/definition/sites/scripts.yml +22 -30
- package/.mock/definition/sites.yml +27 -30
- package/.mock/definition/token.yml +2 -0
- package/.mock/definition/users.yml +4 -0
- package/.mock/definition/webhooks.yml +7 -8
- package/.mock/fern.config.json +1 -1
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +10 -7
- package/api/resources/assets/client/Client.js +18 -15
- package/api/resources/collections/client/Client.d.ts +21 -1
- package/api/resources/collections/client/Client.js +27 -5
- package/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
- package/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
- package/api/resources/collections/resources/fields/client/Client.js +40 -8
- package/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/api/resources/collections/resources/fields/index.d.ts +0 -1
- package/api/resources/collections/resources/fields/index.js +0 -1
- package/api/resources/collections/resources/index.d.ts +1 -2
- package/api/resources/collections/resources/index.js +2 -3
- package/api/resources/collections/resources/items/client/Client.d.ts +19 -12
- package/api/resources/collections/resources/items/client/Client.js +39 -28
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/api/resources/components/client/Client.d.ts +5 -6
- package/api/resources/components/client/Client.js +10 -11
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.d.ts +51 -0
- package/api/resources/forms/client/Client.js +226 -5
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
- package/api/resources/forms/client/requests/index.d.ts +1 -0
- package/api/resources/inventory/client/Client.js +2 -2
- package/api/resources/orders/client/Client.js +6 -6
- package/api/resources/pages/client/Client.d.ts +8 -3
- package/api/resources/pages/client/Client.js +13 -8
- package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -20
- package/api/resources/pages/resources/scripts/client/Client.js +9 -23
- package/api/resources/products/client/Client.js +6 -6
- package/api/resources/scripts/client/Client.d.ts +12 -20
- package/api/resources/scripts/client/Client.js +15 -23
- package/api/resources/sites/client/Client.d.ts +12 -3
- package/api/resources/sites/client/Client.js +25 -14
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
- package/api/resources/sites/resources/index.d.ts +1 -0
- package/api/resources/sites/resources/index.js +2 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +2 -0
- package/api/resources/sites/resources/plans/client/Client.js +3 -1
- package/api/resources/sites/resources/redirects/client/Client.d.ts +10 -0
- package/api/resources/sites/resources/redirects/client/Client.js +14 -4
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
- package/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
- package/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
- package/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
- package/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
- package/api/resources/{collections/resources/fields/types → sites/resources/robotsTxt}/index.js +1 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
- package/api/resources/sites/resources/scripts/client/Client.js +19 -17
- package/api/resources/token/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +5 -5
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
- package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
- package/api/resources/webhooks/client/Client.js +4 -4
- package/api/types/Asset.d.ts +4 -0
- package/api/types/AssetVariant.d.ts +3 -0
- package/api/types/Assets.d.ts +1 -0
- package/api/types/ComponentNode.d.ts +2 -2
- package/api/types/Conflict.d.ts +4 -0
- package/api/types/Dom.d.ts +2 -0
- package/api/types/FieldCreate.d.ts +8 -0
- package/api/types/FieldCreate.js +5 -0
- package/api/types/FieldType.d.ts +3 -1
- package/api/types/FieldType.js +2 -0
- package/api/types/ImageNode.d.ts +1 -0
- package/api/types/ImageNodeImage.d.ts +3 -0
- package/api/types/Metadata.d.ts +11 -0
- package/api/types/Metadata.js +5 -0
- package/api/types/MetadataOptionsItem.d.ts +12 -0
- package/api/types/MetadataOptionsItem.js +5 -0
- package/api/types/OAuthScope.d.ts +8 -0
- package/api/types/OAuthScope.js +2 -0
- package/api/types/OptionField.d.ts +19 -0
- package/api/types/OptionField.js +5 -0
- package/api/types/ReferenceField.d.ts +20 -0
- package/api/types/ReferenceField.js +5 -0
- package/api/types/ReferenceFieldMetadata.d.ts +10 -0
- package/api/types/ReferenceFieldMetadata.js +5 -0
- package/api/types/ReferenceFieldType.d.ts +11 -0
- package/api/types/ReferenceFieldType.js +10 -0
- package/api/types/Robots.d.ts +13 -0
- package/api/types/Robots.js +5 -0
- package/api/types/RobotsRulesItem.d.ts +11 -0
- package/api/types/RobotsRulesItem.js +5 -0
- package/api/types/SkuFieldData.d.ts +2 -0
- package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
- package/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
- package/api/types/StaticField.js +5 -0
- package/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +2 -3
- package/{dist/api/resources/collections/resources/fields/types/FieldCreateType.js → api/types/StaticFieldType.js} +2 -3
- package/api/types/Text.d.ts +3 -0
- package/api/types/TextNode.d.ts +1 -0
- package/api/types/TextNodeText.d.ts +3 -0
- package/api/types/TriggerType.d.ts +1 -15
- package/api/types/WebhookList.d.ts +1 -1
- package/api/types/index.d.ts +12 -0
- package/api/types/index.js +12 -0
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +10 -7
- package/dist/api/resources/assets/client/Client.js +18 -15
- package/dist/api/resources/collections/client/Client.d.ts +21 -1
- package/dist/api/resources/collections/client/Client.js +27 -5
- package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
- package/dist/api/resources/collections/resources/fields/client/Client.js +40 -8
- package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/index.js +0 -1
- package/dist/api/resources/collections/resources/index.d.ts +1 -2
- package/dist/api/resources/collections/resources/index.js +2 -3
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +19 -12
- package/dist/api/resources/collections/resources/items/client/Client.js +39 -28
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/dist/api/resources/components/client/Client.d.ts +5 -6
- package/dist/api/resources/components/client/Client.js +10 -11
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.d.ts +51 -0
- package/dist/api/resources/forms/client/Client.js +226 -5
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
- package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/api/resources/inventory/client/Client.js +2 -2
- package/dist/api/resources/orders/client/Client.js +6 -6
- package/dist/api/resources/pages/client/Client.d.ts +8 -3
- package/dist/api/resources/pages/client/Client.js +13 -8
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -20
- package/dist/api/resources/pages/resources/scripts/client/Client.js +9 -23
- package/dist/api/resources/products/client/Client.js +6 -6
- package/dist/api/resources/scripts/client/Client.d.ts +12 -20
- package/dist/api/resources/scripts/client/Client.js +15 -23
- package/dist/api/resources/sites/client/Client.d.ts +12 -3
- package/dist/api/resources/sites/client/Client.js +25 -14
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/index.js +2 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +2 -0
- package/dist/api/resources/sites/resources/plans/client/Client.js +3 -1
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +10 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.js +14 -4
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
- package/dist/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
- package/dist/{serialization/resources/collections/resources/fields/types → api/resources/sites/resources/robotsTxt}/index.js +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
- package/dist/api/resources/sites/resources/scripts/client/Client.js +19 -17
- package/dist/api/resources/token/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +5 -5
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
- package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
- package/dist/api/resources/webhooks/client/Client.js +4 -4
- package/dist/api/types/Asset.d.ts +4 -0
- package/dist/api/types/AssetVariant.d.ts +3 -0
- package/dist/api/types/Assets.d.ts +1 -0
- package/dist/api/types/ComponentNode.d.ts +2 -2
- package/dist/api/types/Conflict.d.ts +4 -0
- package/dist/api/types/Conflict.js +5 -0
- package/dist/api/types/Dom.d.ts +2 -0
- package/dist/api/types/FieldCreate.d.ts +8 -0
- package/dist/api/types/FieldCreate.js +5 -0
- package/dist/api/types/FieldType.d.ts +3 -1
- package/dist/api/types/FieldType.js +2 -0
- package/dist/api/types/ImageNode.d.ts +1 -0
- package/dist/api/types/ImageNodeImage.d.ts +3 -0
- package/dist/api/types/Metadata.d.ts +11 -0
- package/dist/api/types/Metadata.js +5 -0
- package/dist/api/types/MetadataOptionsItem.d.ts +12 -0
- package/dist/api/types/MetadataOptionsItem.js +5 -0
- package/dist/api/types/OAuthScope.d.ts +8 -0
- package/dist/api/types/OAuthScope.js +2 -0
- package/dist/api/types/OptionField.d.ts +19 -0
- package/dist/api/types/OptionField.js +5 -0
- package/dist/api/types/ReferenceField.d.ts +20 -0
- package/dist/api/types/ReferenceField.js +5 -0
- package/dist/api/types/ReferenceFieldMetadata.d.ts +10 -0
- package/dist/api/types/ReferenceFieldMetadata.js +5 -0
- package/dist/api/types/ReferenceFieldType.d.ts +11 -0
- package/dist/api/types/ReferenceFieldType.js +10 -0
- package/dist/api/types/Robots.d.ts +13 -0
- package/dist/api/types/Robots.js +5 -0
- package/dist/api/types/RobotsRulesItem.d.ts +11 -0
- package/dist/api/types/RobotsRulesItem.js +5 -0
- package/dist/api/types/SkuFieldData.d.ts +2 -0
- package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
- package/dist/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
- package/dist/api/types/StaticField.js +5 -0
- package/dist/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +2 -3
- package/{api/resources/collections/resources/fields/types/FieldCreateType.js → dist/api/types/StaticFieldType.js} +2 -3
- package/dist/api/types/Text.d.ts +3 -0
- package/dist/api/types/TextNode.d.ts +1 -0
- package/dist/api/types/TextNodeText.d.ts +3 -0
- package/dist/api/types/TriggerType.d.ts +1 -15
- package/dist/api/types/WebhookList.d.ts +1 -1
- package/dist/api/types/index.d.ts +12 -0
- package/dist/api/types/index.js +12 -0
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
- package/dist/serialization/resources/collections/resources/fields/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/fields/index.js +0 -1
- package/dist/serialization/resources/collections/resources/index.d.ts +1 -2
- package/dist/serialization/resources/collections/resources/index.js +2 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
- package/dist/serialization/types/Assets.d.ts +2 -0
- package/dist/serialization/types/Assets.js +2 -0
- package/dist/serialization/types/Conflict.d.ts +10 -0
- package/dist/serialization/types/Conflict.js +31 -0
- package/dist/serialization/types/Dom.d.ts +1 -0
- package/dist/serialization/types/Dom.js +1 -0
- package/dist/serialization/types/FieldCreate.d.ts +13 -0
- package/dist/serialization/types/FieldCreate.js +34 -0
- package/dist/serialization/types/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +2 -0
- package/dist/serialization/types/Metadata.d.ts +13 -0
- package/dist/serialization/types/Metadata.js +34 -0
- package/dist/serialization/types/MetadataOptionsItem.d.ts +13 -0
- package/dist/serialization/types/MetadataOptionsItem.js +34 -0
- package/dist/serialization/types/OptionField.d.ts +19 -0
- package/dist/serialization/types/OptionField.js +40 -0
- package/dist/serialization/types/ReferenceField.d.ts +20 -0
- package/dist/serialization/types/ReferenceField.js +41 -0
- package/dist/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
- package/dist/serialization/types/ReferenceFieldMetadata.js +33 -0
- package/dist/serialization/types/ReferenceFieldType.d.ts +10 -0
- package/dist/serialization/types/ReferenceFieldType.js +31 -0
- package/dist/serialization/types/Robots.d.ts +14 -0
- package/dist/serialization/types/Robots.js +35 -0
- package/dist/serialization/types/RobotsRulesItem.d.ts +14 -0
- package/dist/serialization/types/RobotsRulesItem.js +35 -0
- package/dist/serialization/types/StaticField.d.ts +18 -0
- package/dist/serialization/{resources/collections/resources/fields/client/requests/FieldCreate.js → types/StaticField.js} +7 -5
- package/dist/serialization/types/StaticFieldType.d.ts +10 -0
- package/dist/serialization/{resources/collections/resources/fields/types/FieldCreateType.js → types/StaticFieldType.js} +3 -4
- package/dist/serialization/types/WebhookList.d.ts +2 -2
- package/dist/serialization/types/WebhookList.js +2 -2
- package/dist/serialization/types/index.d.ts +12 -0
- package/dist/serialization/types/index.js +12 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/WebflowClient.d.ts +3 -0
- package/dist/wrapper/WebflowClient.js +5 -0
- package/dist/wrapper/WebhooksClient.d.ts +39 -0
- package/dist/wrapper/WebhooksClient.js +66 -0
- package/package.json +5 -3
- package/reference.md +585 -91
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
- package/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
- package/serialization/resources/collections/resources/fields/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/index.js +0 -1
- package/serialization/resources/collections/resources/index.d.ts +1 -2
- package/serialization/resources/collections/resources/index.js +2 -3
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
- package/serialization/types/Assets.d.ts +2 -0
- package/serialization/types/Assets.js +2 -0
- package/serialization/types/Conflict.d.ts +10 -0
- package/serialization/types/Conflict.js +31 -0
- package/serialization/types/Dom.d.ts +1 -0
- package/serialization/types/Dom.js +1 -0
- package/serialization/types/FieldCreate.d.ts +13 -0
- package/serialization/types/FieldCreate.js +34 -0
- package/serialization/types/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +2 -0
- package/serialization/types/Metadata.d.ts +13 -0
- package/serialization/types/Metadata.js +34 -0
- package/serialization/types/MetadataOptionsItem.d.ts +13 -0
- package/serialization/types/MetadataOptionsItem.js +34 -0
- package/serialization/types/OptionField.d.ts +19 -0
- package/serialization/types/OptionField.js +40 -0
- package/serialization/types/ReferenceField.d.ts +20 -0
- package/serialization/types/ReferenceField.js +41 -0
- package/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
- package/serialization/types/ReferenceFieldMetadata.js +33 -0
- package/serialization/types/ReferenceFieldType.d.ts +10 -0
- package/serialization/types/ReferenceFieldType.js +31 -0
- package/serialization/types/Robots.d.ts +14 -0
- package/serialization/types/Robots.js +35 -0
- package/serialization/types/RobotsRulesItem.d.ts +14 -0
- package/serialization/types/RobotsRulesItem.js +35 -0
- package/serialization/types/StaticField.d.ts +18 -0
- package/serialization/{resources/collections/resources/fields/client/requests/FieldCreate.js → types/StaticField.js} +7 -5
- package/serialization/types/StaticFieldType.d.ts +10 -0
- package/serialization/{resources/collections/resources/fields/types/FieldCreateType.js → types/StaticFieldType.js} +3 -4
- package/serialization/types/WebhookList.d.ts +2 -2
- package/serialization/types/WebhookList.js +2 -2
- package/serialization/types/index.d.ts +12 -0
- package/serialization/types/index.js +12 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/WebflowClient.d.ts +3 -0
- package/wrapper/WebflowClient.js +5 -0
- package/wrapper/WebhooksClient.d.ts +39 -0
- package/wrapper/WebhooksClient.js +66 -0
- package/api/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/types/index.js +0 -17
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
- package/dist/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
- package/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/types/index.js +0 -17
- /package/api/resources/{collections/resources/fields/client/requests/FieldCreate.js → forms/client/requests/FormsListSubmissionsBySiteRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/fields/client/requests/FieldCreate.js → api/types/Conflict.js} +0 -0
|
@@ -68,7 +68,7 @@ types:
|
|
|
68
68
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
69
69
|
ItemsDeleteItemsLiveRequestItemsItem:
|
|
70
70
|
properties:
|
|
71
|
-
|
|
71
|
+
id:
|
|
72
72
|
type: string
|
|
73
73
|
docs: Unique identifier for the Item
|
|
74
74
|
cmsLocaleIds:
|
|
@@ -166,10 +166,10 @@ service:
|
|
|
166
166
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
167
167
|
name:
|
|
168
168
|
type: optional<string>
|
|
169
|
-
docs:
|
|
169
|
+
docs: Filter by the exact name of the item(s)
|
|
170
170
|
slug:
|
|
171
171
|
type: optional<string>
|
|
172
|
-
docs:
|
|
172
|
+
docs: Filter by the exact slug of the item
|
|
173
173
|
sortBy:
|
|
174
174
|
type: optional<ItemsListItemsRequestSortBy>
|
|
175
175
|
docs: Sort results by the provided value
|
|
@@ -179,6 +179,7 @@ service:
|
|
|
179
179
|
response:
|
|
180
180
|
docs: Request was successful
|
|
181
181
|
type: root.CollectionItemList
|
|
182
|
+
status-code: 200
|
|
182
183
|
errors:
|
|
183
184
|
- root.BadRequestError
|
|
184
185
|
- root.UnauthorizedError
|
|
@@ -246,6 +247,7 @@ service:
|
|
|
246
247
|
response:
|
|
247
248
|
docs: Request was successful
|
|
248
249
|
type: root.CollectionItem
|
|
250
|
+
status-code: 202
|
|
249
251
|
errors:
|
|
250
252
|
- root.BadRequestError
|
|
251
253
|
- root.UnauthorizedError
|
|
@@ -322,8 +324,8 @@ service:
|
|
|
322
324
|
Delete Items from a Collection.
|
|
323
325
|
|
|
324
326
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
+
<Tip title="Localization Tip">Items will only be deleted in the primary
|
|
328
|
+
locale unless a `cmsLocaleId` is included in the request.</Tip>
|
|
327
329
|
|
|
328
330
|
|
|
329
331
|
Required scope | `CMS:write`
|
|
@@ -356,11 +358,14 @@ service:
|
|
|
356
358
|
method: PATCH
|
|
357
359
|
auth: true
|
|
358
360
|
docs: >
|
|
359
|
-
Update a single item or multiple items
|
|
361
|
+
Update a single item or multiple items in a Collection.
|
|
362
|
+
|
|
360
363
|
|
|
364
|
+
The limit for this endpoint is 100 items.
|
|
361
365
|
|
|
362
|
-
|
|
363
|
-
|
|
366
|
+
|
|
367
|
+
<Tip title="Localization Tip">Items will only be updated in the primary
|
|
368
|
+
locale, unless a `cmsLocaleId` is included in the request.</Tip>
|
|
364
369
|
|
|
365
370
|
|
|
366
371
|
Required scope | `CMS:write`
|
|
@@ -380,6 +385,7 @@ service:
|
|
|
380
385
|
response:
|
|
381
386
|
docs: Request was successful
|
|
382
387
|
type: root.CollectionItem
|
|
388
|
+
status-code: 200
|
|
383
389
|
errors:
|
|
384
390
|
- root.BadRequestError
|
|
385
391
|
- root.UnauthorizedError
|
|
@@ -560,7 +566,7 @@ service:
|
|
|
560
566
|
method: GET
|
|
561
567
|
auth: true
|
|
562
568
|
docs: |
|
|
563
|
-
List
|
|
569
|
+
List all published items in a collection.
|
|
564
570
|
|
|
565
571
|
Required scope | `CMS:read`
|
|
566
572
|
source:
|
|
@@ -590,10 +596,10 @@ service:
|
|
|
590
596
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
591
597
|
name:
|
|
592
598
|
type: optional<string>
|
|
593
|
-
docs:
|
|
599
|
+
docs: Filter by the exact name of the item(s)
|
|
594
600
|
slug:
|
|
595
601
|
type: optional<string>
|
|
596
|
-
docs:
|
|
602
|
+
docs: Filter by the exact slug of the item
|
|
597
603
|
sortBy:
|
|
598
604
|
type: optional<ItemsListItemsLiveRequestSortBy>
|
|
599
605
|
docs: Sort results by the provided value
|
|
@@ -603,6 +609,7 @@ service:
|
|
|
603
609
|
response:
|
|
604
610
|
docs: Request was successful
|
|
605
611
|
type: root.CollectionItemList
|
|
612
|
+
status-code: 200
|
|
606
613
|
errors:
|
|
607
614
|
- root.BadRequestError
|
|
608
615
|
- root.UnauthorizedError
|
|
@@ -648,8 +655,8 @@ service:
|
|
|
648
655
|
method: POST
|
|
649
656
|
auth: true
|
|
650
657
|
docs: >
|
|
651
|
-
Create
|
|
652
|
-
|
|
658
|
+
Create item(s) in a collection that will be immediately published to the
|
|
659
|
+
live site.
|
|
653
660
|
|
|
654
661
|
|
|
655
662
|
|
|
@@ -672,6 +679,7 @@ service:
|
|
|
672
679
|
response:
|
|
673
680
|
docs: Request was successful
|
|
674
681
|
type: root.CollectionItem
|
|
682
|
+
status-code: 202
|
|
675
683
|
errors:
|
|
676
684
|
- root.BadRequestError
|
|
677
685
|
- root.UnauthorizedError
|
|
@@ -683,6 +691,9 @@ service:
|
|
|
683
691
|
path-parameters:
|
|
684
692
|
collection_id: 580e63fc8c9a982ac9b8b745
|
|
685
693
|
request:
|
|
694
|
+
lastPublished: '2023-03-17T18:47:35.560Z'
|
|
695
|
+
lastUpdated: '2023-03-17T18:47:35.560Z'
|
|
696
|
+
createdOn: '2023-03-17T18:47:35.560Z'
|
|
686
697
|
isArchived: false
|
|
687
698
|
isDraft: false
|
|
688
699
|
fieldData:
|
|
@@ -711,14 +722,20 @@ service:
|
|
|
711
722
|
collection_id: 580e63fc8c9a982ac9b8b745
|
|
712
723
|
request:
|
|
713
724
|
items:
|
|
714
|
-
-
|
|
725
|
+
- lastPublished: '2023-03-17T18:47:35.560Z'
|
|
726
|
+
lastUpdated: '2023-03-17T18:47:35.560Z'
|
|
727
|
+
createdOn: '2023-03-17T18:47:35.560Z'
|
|
728
|
+
isArchived: false
|
|
715
729
|
isDraft: false
|
|
716
730
|
fieldData:
|
|
717
731
|
name: Senior Data Analyst
|
|
718
732
|
slug: senior-data-analyst
|
|
719
733
|
url: https://boards.greenhouse.io/webflow/jobs/26567701
|
|
720
734
|
department: Data
|
|
721
|
-
-
|
|
735
|
+
- lastPublished: '2023-03-17T18:47:35.560Z'
|
|
736
|
+
lastUpdated: '2023-03-17T18:47:35.560Z'
|
|
737
|
+
createdOn: '2023-03-17T18:47:35.560Z'
|
|
738
|
+
isArchived: false
|
|
722
739
|
isDraft: false
|
|
723
740
|
fieldData:
|
|
724
741
|
name: Product Manager
|
|
@@ -746,13 +763,15 @@ service:
|
|
|
746
763
|
auth: true
|
|
747
764
|
docs: >
|
|
748
765
|
Remove an item or multiple items (up to 100 items) from the live site.
|
|
749
|
-
Deleting published items will unpublish the items from the live site and
|
|
750
|
-
set them to draft.
|
|
751
766
|
|
|
752
767
|
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
768
|
+
Using this endpoint to delete published item(s) will unpublish the
|
|
769
|
+
item(s) from the live site and set the item(s) `isDraft` property to
|
|
770
|
+
`true`.
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
<Tip title="Localization Tip">Items will only be unpublished in the
|
|
774
|
+
primary locale unless a `cmsLocaleId` is included in the request.</Tip>
|
|
756
775
|
|
|
757
776
|
|
|
758
777
|
Required scope | `CMS:write`
|
|
@@ -784,12 +803,12 @@ service:
|
|
|
784
803
|
method: PATCH
|
|
785
804
|
auth: true
|
|
786
805
|
docs: >
|
|
787
|
-
Update a single
|
|
788
|
-
Collection
|
|
806
|
+
Update a single published item or multiple published items (up to 100)
|
|
807
|
+
in a Collection
|
|
789
808
|
|
|
790
809
|
|
|
791
|
-
|
|
792
|
-
|
|
810
|
+
<Tip title="Localization Tip">Items will only be updated in the primary
|
|
811
|
+
locale, unless a `cmsLocaleId` is included in the request.</Tip>
|
|
793
812
|
|
|
794
813
|
|
|
795
814
|
Required scope | `CMS:write`
|
|
@@ -809,10 +828,12 @@ service:
|
|
|
809
828
|
response:
|
|
810
829
|
docs: Request was successful
|
|
811
830
|
type: root.CollectionItemListNoPagination
|
|
831
|
+
status-code: 200
|
|
812
832
|
errors:
|
|
813
833
|
- root.BadRequestError
|
|
814
834
|
- root.UnauthorizedError
|
|
815
835
|
- root.NotFoundError
|
|
836
|
+
- root.ConflictError
|
|
816
837
|
- root.TooManyRequestsError
|
|
817
838
|
- root.InternalServerError
|
|
818
839
|
examples:
|
|
@@ -1101,9 +1122,11 @@ service:
|
|
|
1101
1122
|
corresponding locales.
|
|
1102
1123
|
|
|
1103
1124
|
|
|
1104
|
-
|
|
1125
|
+
<Note>
|
|
1105
1126
|
- This endpoint can create up to 100 items in a request.
|
|
1106
|
-
- If the `cmsLocaleIds` parameter is
|
|
1127
|
+
- If the `cmsLocaleIds` parameter is not included in the request, an item will only be created in the primary locale.
|
|
1128
|
+
</Note>
|
|
1129
|
+
|
|
1107
1130
|
|
|
1108
1131
|
Required scope | `CMS:write`
|
|
1109
1132
|
source:
|
|
@@ -1135,6 +1158,7 @@ service:
|
|
|
1135
1158
|
response:
|
|
1136
1159
|
docs: Request was successful
|
|
1137
1160
|
type: root.BulkCollectionItem
|
|
1161
|
+
status-code: 202
|
|
1138
1162
|
errors:
|
|
1139
1163
|
- root.BadRequestError
|
|
1140
1164
|
- root.UnauthorizedError
|
|
@@ -1298,6 +1322,7 @@ service:
|
|
|
1298
1322
|
response:
|
|
1299
1323
|
docs: Request was successful
|
|
1300
1324
|
type: root.CollectionItem
|
|
1325
|
+
status-code: 200
|
|
1301
1326
|
errors:
|
|
1302
1327
|
- root.BadRequestError
|
|
1303
1328
|
- root.UnauthorizedError
|
|
@@ -1327,10 +1352,8 @@ service:
|
|
|
1327
1352
|
path: /collections/{collection_id}/items/{item_id}
|
|
1328
1353
|
method: DELETE
|
|
1329
1354
|
auth: true
|
|
1330
|
-
docs:
|
|
1331
|
-
Delete an
|
|
1332
|
-
support bulk deletion.
|
|
1333
|
-
|
|
1355
|
+
docs: |
|
|
1356
|
+
Delete an item from a collection.
|
|
1334
1357
|
|
|
1335
1358
|
Required scope | `CMS:write`
|
|
1336
1359
|
source:
|
|
@@ -1387,6 +1410,7 @@ service:
|
|
|
1387
1410
|
response:
|
|
1388
1411
|
docs: Request was successful
|
|
1389
1412
|
type: root.CollectionItem
|
|
1413
|
+
status-code: 200
|
|
1390
1414
|
errors:
|
|
1391
1415
|
- root.BadRequestError
|
|
1392
1416
|
- root.UnauthorizedError
|
|
@@ -1452,6 +1476,7 @@ service:
|
|
|
1452
1476
|
response:
|
|
1453
1477
|
docs: Request was successful
|
|
1454
1478
|
type: root.CollectionItem
|
|
1479
|
+
status-code: 200
|
|
1455
1480
|
errors:
|
|
1456
1481
|
- root.BadRequestError
|
|
1457
1482
|
- root.UnauthorizedError
|
|
@@ -1546,10 +1571,12 @@ service:
|
|
|
1546
1571
|
response:
|
|
1547
1572
|
docs: Request was successful
|
|
1548
1573
|
type: root.CollectionItem
|
|
1574
|
+
status-code: 200
|
|
1549
1575
|
errors:
|
|
1550
1576
|
- root.BadRequestError
|
|
1551
1577
|
- root.UnauthorizedError
|
|
1552
1578
|
- root.NotFoundError
|
|
1579
|
+
- root.ConflictError
|
|
1553
1580
|
- root.TooManyRequestsError
|
|
1554
1581
|
- root.InternalServerError
|
|
1555
1582
|
examples:
|
|
@@ -1604,6 +1631,7 @@ service:
|
|
|
1604
1631
|
response:
|
|
1605
1632
|
docs: Request was successful
|
|
1606
1633
|
type: ItemsPublishItemResponse
|
|
1634
|
+
status-code: 202
|
|
1607
1635
|
errors:
|
|
1608
1636
|
- root.BadRequestError
|
|
1609
1637
|
- root.UnauthorizedError
|
|
@@ -22,6 +22,7 @@ service:
|
|
|
22
22
|
response:
|
|
23
23
|
docs: Request was successful
|
|
24
24
|
type: root.CollectionList
|
|
25
|
+
status-code: 200
|
|
25
26
|
errors:
|
|
26
27
|
- root.BadRequestError
|
|
27
28
|
- root.UnauthorizedError
|
|
@@ -80,14 +81,19 @@ service:
|
|
|
80
81
|
slug:
|
|
81
82
|
type: optional<string>
|
|
82
83
|
docs: Part of a URL that identifier
|
|
84
|
+
fields:
|
|
85
|
+
type: optional<list<root.FieldCreate>>
|
|
86
|
+
docs: An array of custom fields to add to the collection
|
|
83
87
|
content-type: application/json
|
|
84
88
|
response:
|
|
85
89
|
docs: Request was successful
|
|
86
90
|
type: root.Collection
|
|
91
|
+
status-code: 200
|
|
87
92
|
errors:
|
|
88
93
|
- root.BadRequestError
|
|
89
94
|
- root.UnauthorizedError
|
|
90
95
|
- root.NotFoundError
|
|
96
|
+
- root.ConflictError
|
|
91
97
|
- root.TooManyRequestsError
|
|
92
98
|
- root.InternalServerError
|
|
93
99
|
examples:
|
|
@@ -97,22 +103,51 @@ service:
|
|
|
97
103
|
displayName: Blog Posts
|
|
98
104
|
singularName: Blog Post
|
|
99
105
|
slug: posts
|
|
106
|
+
fields:
|
|
107
|
+
- isRequired: true
|
|
108
|
+
type: PlainText
|
|
109
|
+
displayName: Title
|
|
110
|
+
helpText: The title of the blog post
|
|
111
|
+
- isRequired: true
|
|
112
|
+
type: RichText
|
|
113
|
+
displayName: Content
|
|
114
|
+
helpText: The content of the blog post
|
|
115
|
+
- isRequired: true
|
|
116
|
+
type: Reference
|
|
117
|
+
displayName: Author
|
|
118
|
+
helpText: The author of the blog post
|
|
119
|
+
metadata:
|
|
120
|
+
collectionId: 23cc2d952d4e4631ffd4345d2743db4e
|
|
100
121
|
response:
|
|
101
122
|
body:
|
|
102
|
-
id:
|
|
123
|
+
id: 562ac0395358780a1f5e6fbd
|
|
103
124
|
displayName: Blog Posts
|
|
104
125
|
singularName: Blog Post
|
|
105
|
-
slug:
|
|
126
|
+
slug: posts
|
|
106
127
|
createdOn: '2016-10-24T19:41:48Z'
|
|
107
128
|
lastUpdated: '2016-10-24T19:42:38Z'
|
|
108
129
|
fields:
|
|
109
|
-
- id:
|
|
130
|
+
- id: id
|
|
110
131
|
isRequired: true
|
|
111
132
|
isEditable: true
|
|
112
133
|
type: PlainText
|
|
113
|
-
slug:
|
|
114
|
-
displayName:
|
|
115
|
-
helpText:
|
|
134
|
+
slug: title
|
|
135
|
+
displayName: Title
|
|
136
|
+
helpText: The title of the blog post
|
|
137
|
+
- id: id
|
|
138
|
+
isRequired: true
|
|
139
|
+
isEditable: true
|
|
140
|
+
type: RichText
|
|
141
|
+
slug: content
|
|
142
|
+
displayName: Content
|
|
143
|
+
helpText: The content of the blog post
|
|
144
|
+
- id: id
|
|
145
|
+
isRequired: true
|
|
146
|
+
isEditable: true
|
|
147
|
+
type: Reference
|
|
148
|
+
slug: author
|
|
149
|
+
displayName: Author
|
|
150
|
+
helpText: The author of the blog post
|
|
116
151
|
get:
|
|
117
152
|
path: /collections/{collection_id}
|
|
118
153
|
method: GET
|
|
@@ -131,6 +166,7 @@ service:
|
|
|
131
166
|
response:
|
|
132
167
|
docs: Request was successful
|
|
133
168
|
type: root.Collection
|
|
169
|
+
status-code: 200
|
|
134
170
|
errors:
|
|
135
171
|
- root.BadRequestError
|
|
136
172
|
- root.UnauthorizedError
|
|
@@ -155,7 +191,6 @@ service:
|
|
|
155
191
|
type: PlainText
|
|
156
192
|
slug: name
|
|
157
193
|
displayName: Name
|
|
158
|
-
helpText: helpText
|
|
159
194
|
delete:
|
|
160
195
|
path: /collections/{collection_id}
|
|
161
196
|
method: DELETE
|
|
@@ -33,6 +33,7 @@ service:
|
|
|
33
33
|
response:
|
|
34
34
|
docs: Request was successful
|
|
35
35
|
type: root.ComponentList
|
|
36
|
+
status-code: 200
|
|
36
37
|
errors:
|
|
37
38
|
- root.BadRequestError
|
|
38
39
|
- root.UnauthorizedError
|
|
@@ -59,13 +60,9 @@ service:
|
|
|
59
60
|
readonly: true
|
|
60
61
|
- id: 6258612d1ee792848f805dcf
|
|
61
62
|
name: Card
|
|
62
|
-
group: Buttons
|
|
63
|
-
description: A button component that can be used across the site
|
|
64
63
|
readonly: true
|
|
65
64
|
- id: 68a2b1d1ee792848f805dcf
|
|
66
65
|
name: Nav
|
|
67
|
-
group: Buttons
|
|
68
|
-
description: A button component that can be used across the site
|
|
69
66
|
readonly: true
|
|
70
67
|
pagination:
|
|
71
68
|
limit: 20
|
|
@@ -120,6 +117,7 @@ service:
|
|
|
120
117
|
response:
|
|
121
118
|
docs: Request was successful
|
|
122
119
|
type: root.ComponentDom
|
|
120
|
+
status-code: 200
|
|
123
121
|
errors:
|
|
124
122
|
- root.BadRequestError
|
|
125
123
|
- root.UnauthorizedError
|
|
@@ -137,33 +135,26 @@ service:
|
|
|
137
135
|
body:
|
|
138
136
|
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
139
137
|
nodes:
|
|
140
|
-
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
138
|
+
- id: id
|
|
139
|
+
text: {}
|
|
140
|
+
attributes:
|
|
141
|
+
key: value
|
|
142
|
+
type: text
|
|
143
|
+
- id: id
|
|
144
|
+
text: {}
|
|
145
|
+
attributes:
|
|
146
|
+
key: value
|
|
147
|
+
type: text
|
|
148
|
+
- id: id
|
|
149
|
+
image: {}
|
|
150
|
+
attributes:
|
|
151
|
+
key: value
|
|
152
|
+
type: image
|
|
153
|
+
- id: id
|
|
154
|
+
componentId: componentId
|
|
148
155
|
propertyOverrides:
|
|
149
156
|
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
150
|
-
|
|
151
|
-
id: a245c12d-995b-55ee-5ec7-aa36a6cad629
|
|
152
|
-
componentId: nodes
|
|
153
|
-
propertyOverrides:
|
|
154
|
-
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
155
|
-
- type: component-instance
|
|
156
|
-
id: a245c12d-995b-55ee-5ec7-aa36a6cad631
|
|
157
|
-
componentId: 6258612d1ee792848f805dcf
|
|
158
|
-
propertyOverrides:
|
|
159
|
-
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad633
|
|
160
|
-
type: Plain Text
|
|
161
|
-
text:
|
|
162
|
-
text: Don't Panic!
|
|
163
|
-
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad635
|
|
164
|
-
type: Rich Text
|
|
165
|
-
text:
|
|
166
|
-
html: <div><p>Always know where your towel is.</p></div>
|
|
157
|
+
type: component-instance
|
|
167
158
|
pagination:
|
|
168
159
|
limit: 4
|
|
169
160
|
offset: 0
|
|
@@ -178,21 +169,21 @@ service:
|
|
|
178
169
|
body:
|
|
179
170
|
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
180
171
|
nodes:
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
|
|
172
|
+
- id: id
|
|
173
|
+
image: {}
|
|
174
|
+
attributes:
|
|
175
|
+
key: value
|
|
176
|
+
type: image
|
|
177
|
+
- id: id
|
|
178
|
+
text: {}
|
|
179
|
+
attributes:
|
|
180
|
+
key: value
|
|
181
|
+
type: text
|
|
182
|
+
- id: id
|
|
183
|
+
componentId: componentId
|
|
184
184
|
propertyOverrides:
|
|
185
185
|
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
186
|
-
|
|
187
|
-
id: 8ebfb409-7493-3bca-5d48-0e547befb960
|
|
188
|
-
componentId: nodes
|
|
189
|
-
propertyOverrides:
|
|
190
|
-
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
191
|
-
- type: component-instance
|
|
192
|
-
id: 69118560-d0bc-15fc-bbf8-b8fe5f6535c2
|
|
193
|
-
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
194
|
-
propertyOverrides:
|
|
195
|
-
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
186
|
+
type: component-instance
|
|
196
187
|
pagination:
|
|
197
188
|
limit: 100
|
|
198
189
|
offset: 0
|
|
@@ -255,6 +246,7 @@ service:
|
|
|
255
246
|
response:
|
|
256
247
|
docs: Request was successful
|
|
257
248
|
type: ComponentsUpdateContentResponse
|
|
249
|
+
status-code: 200
|
|
258
250
|
errors:
|
|
259
251
|
- root.BadRequestError
|
|
260
252
|
- root.UnauthorizedError
|
|
@@ -291,10 +283,10 @@ service:
|
|
|
291
283
|
method: GET
|
|
292
284
|
auth: true
|
|
293
285
|
docs: >
|
|
294
|
-
Get the property
|
|
286
|
+
Get the default property values of a component definition.
|
|
295
287
|
|
|
296
288
|
|
|
297
|
-
<Note>If you do not
|
|
289
|
+
<Note>If you do not include a `localeId` in your request, the response
|
|
298
290
|
will return any properties that can be localized from the Primary
|
|
299
291
|
locale.</Note>
|
|
300
292
|
|
|
@@ -329,6 +321,7 @@ service:
|
|
|
329
321
|
response:
|
|
330
322
|
docs: Request was successful
|
|
331
323
|
type: root.ComponentProperties
|
|
324
|
+
status-code: 200
|
|
332
325
|
errors:
|
|
333
326
|
- root.BadRequestError
|
|
334
327
|
- root.UnauthorizedError
|
|
@@ -366,18 +359,17 @@ service:
|
|
|
366
359
|
method: POST
|
|
367
360
|
auth: true
|
|
368
361
|
docs: >
|
|
369
|
-
Update the property
|
|
362
|
+
Update the default property values of a component definition in a
|
|
370
363
|
specificed locale.
|
|
371
364
|
|
|
372
365
|
|
|
373
|
-
Before making updates
|
|
374
|
-
|
|
375
|
-
1. Use the [get component
|
|
366
|
+
Before making updates, use the [get component
|
|
376
367
|
properties](/data/reference/pages-and-components/components/get-properties)
|
|
377
|
-
endpoint to identify
|
|
368
|
+
endpoint to identify properties that can be updated in a secondary
|
|
369
|
+
locale.
|
|
378
370
|
|
|
379
371
|
|
|
380
|
-
<Note>The request requires a secondary locale ID. If a
|
|
372
|
+
<Note>The request requires a secondary locale ID. If a `localeId` is
|
|
381
373
|
missing, the request will not be processed and will result in an
|
|
382
374
|
error.</Note>
|
|
383
375
|
|
|
@@ -412,6 +404,7 @@ service:
|
|
|
412
404
|
response:
|
|
413
405
|
docs: Request was successful
|
|
414
406
|
type: ComponentsUpdatePropertiesResponse
|
|
407
|
+
status-code: 200
|
|
415
408
|
errors:
|
|
416
409
|
- root.BadRequestError
|
|
417
410
|
- root.UnauthorizedError
|