webflow-api 3.2.0 → 3.2.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 +112 -269
- package/.mock/definition/accessGroups.yml +7 -1
- package/.mock/definition/api.yml +0 -2
- package/.mock/definition/assets.yml +38 -8
- package/.mock/definition/collections/fields.yml +9 -3
- package/.mock/definition/collections/items.yml +458 -76
- package/.mock/definition/collections.yml +12 -4
- package/.mock/definition/components.yml +65 -25
- package/.mock/definition/ecommerce.yml +3 -1
- package/.mock/definition/forms.yml +29 -7
- package/.mock/definition/inventory.yml +25 -17
- package/.mock/definition/items.yml +28 -16
- package/.mock/definition/orders.yml +126 -110
- package/.mock/definition/pages/scripts.yml +27 -8
- package/.mock/definition/pages.yml +66 -45
- package/.mock/definition/products.yml +21 -12
- package/.mock/definition/scripts.yml +9 -3
- package/.mock/definition/sites/activityLogs.yml +6 -1
- package/.mock/definition/sites/comments.yml +39 -12
- package/.mock/definition/sites/plans.yml +3 -1
- package/.mock/definition/sites/redirects.yml +12 -4
- package/.mock/definition/sites/robotsTxt.yml +12 -4
- package/.mock/definition/sites/scripts.yml +35 -8
- package/.mock/definition/sites/wellKnown.yml +20 -4
- package/.mock/definition/sites.yml +23 -8
- package/.mock/definition/token.yml +3 -2
- package/.mock/definition/users.yml +19 -5
- package/.mock/definition/webhooks.yml +0 -4
- package/.mock/definition/workspaces/auditLogs.yml +9 -3
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +2 -2
- package/Client.js +3 -3
- package/api/resources/accessGroups/client/Client.d.ts +8 -4
- package/api/resources/accessGroups/client/Client.js +11 -3
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +5 -1
- package/api/resources/assets/client/Client.d.ts +9 -5
- package/api/resources/assets/client/Client.js +24 -7
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +20 -0
- package/api/resources/assets/client/requests/index.d.ts +1 -0
- package/api/resources/collections/client/Client.d.ts +3 -3
- package/api/resources/collections/client/Client.js +6 -2
- package/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/api/resources/collections/resources/fields/client/Client.js +6 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +53 -17
- package/api/resources/collections/resources/items/client/Client.js +57 -17
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +4 -0
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +4 -2
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +4 -2
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +9 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +9 -1
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +3 -2
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +3 -2
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +4 -0
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -0
- package/api/resources/components/client/Client.d.ts +18 -9
- package/api/resources/components/client/Client.js +21 -8
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +3 -1
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +3 -1
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +6 -2
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +6 -2
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +3 -1
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/api/resources/ecommerce/client/Client.d.ts +3 -3
- package/api/resources/ecommerce/client/Client.js +6 -2
- package/api/resources/forms/client/Client.d.ts +14 -6
- package/api/resources/forms/client/Client.js +17 -5
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/api/resources/inventory/client/Client.d.ts +11 -11
- package/api/resources/inventory/client/Client.js +22 -18
- package/api/resources/orders/client/Client.d.ts +8 -4
- package/api/resources/orders/client/Client.js +11 -3
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +5 -1
- package/api/resources/pages/client/Client.d.ts +14 -15
- package/api/resources/pages/client/Client.js +17 -14
- package/api/resources/pages/client/requests/PageMetadataWrite.d.ts +9 -2
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +6 -2
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +6 -2
- package/api/resources/pages/resources/scripts/client/Client.d.ts +8 -6
- package/api/resources/pages/resources/scripts/client/Client.js +11 -5
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/api/resources/products/client/Client.d.ts +7 -4
- package/api/resources/products/client/Client.js +10 -3
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -1
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +6 -2
- package/api/resources/sites/client/Client.d.ts +3 -3
- package/api/resources/sites/client/Client.js +6 -2
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -4
- package/api/resources/sites/resources/activityLogs/client/Client.js +10 -3
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -1
- package/api/resources/sites/resources/comments/client/Client.d.ts +18 -6
- package/api/resources/sites/resources/comments/client/Client.js +21 -5
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +8 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +8 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +8 -2
- package/api/resources/sites/resources/plans/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/plans/client/Client.js +6 -2
- package/api/resources/sites/resources/redirects/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/redirects/client/Client.js +6 -2
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/robotsTxt/client/Client.js +6 -2
- package/api/resources/sites/resources/scripts/client/Client.d.ts +13 -6
- package/api/resources/sites/resources/scripts/client/Client.js +16 -5
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -1
- package/api/resources/sites/resources/wellKnown/client/Client.d.ts +6 -5
- package/api/resources/sites/resources/wellKnown/client/Client.js +9 -4
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +3 -2
- package/api/resources/token/client/Client.d.ts +3 -3
- package/api/resources/token/client/Client.js +6 -2
- package/api/resources/users/client/Client.d.ts +8 -4
- package/api/resources/users/client/Client.js +11 -3
- package/api/resources/users/client/requests/UsersListRequest.d.ts +5 -1
- package/api/resources/webhooks/client/Client.d.ts +3 -3
- package/api/resources/webhooks/client/Client.js +6 -2
- package/api/resources/workspaces/client/Client.d.ts +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +9 -5
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +12 -4
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +6 -2
- package/api/types/CollectionItemChanged.d.ts +1 -1
- package/api/types/CollectionItemCreated.d.ts +1 -1
- package/api/types/CollectionItemPublished.d.ts +9 -0
- package/api/types/{ComponentInstance.d.ts → ComponentInstanceNodePropertyOverridesWrite.d.ts} +1 -1
- package/api/types/{ComponentNodeDom.d.ts → ComponentNode.d.ts} +1 -1
- package/api/types/Dom.d.ts +1 -1
- package/api/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +1 -1
- package/api/types/Node.d.ts +7 -7
- package/api/types/Payload.d.ts +25 -0
- package/api/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +1 -1
- package/api/types/{SearchButtonNodeDom.d.ts → SearchButtonNode.d.ts} +1 -1
- package/api/types/{SearchButton.d.ts → SearchButtonNodeWrite.d.ts} +1 -1
- package/api/types/{SelectNodeDom.d.ts → SelectNode.d.ts} +1 -1
- package/api/types/SiteMembership.d.ts +1 -0
- package/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -1
- package/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -0
- package/api/types/SkuFieldData.d.ts +0 -4
- package/{dist/api/types/SubmitButtonNodeDom.d.ts → api/types/SubmitButtonNode.d.ts} +1 -1
- package/{dist/api/types/SubmitButton.d.ts → api/types/SubmitButtonNodeWrite.d.ts} +1 -1
- package/{dist/api/types/TextInputNodeDom.d.ts → api/types/TextInputNode.d.ts} +1 -1
- package/api/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +1 -1
- package/api/types/TextNode.d.ts +7 -4
- package/api/types/TextNodeWrite.d.ts +12 -0
- package/api/types/TriggerType.d.ts +2 -1
- package/api/types/TriggerType.js +1 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +9 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -1
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -1
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -0
- package/api/types/WorkspaceInvitation.d.ts +1 -0
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -1
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/api/types/index.d.ts +17 -20
- package/api/types/index.js +17 -20
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +3 -3
- package/dist/api/resources/accessGroups/client/Client.d.ts +8 -4
- package/dist/api/resources/accessGroups/client/Client.js +11 -3
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +5 -1
- package/dist/api/resources/assets/client/Client.d.ts +9 -5
- package/dist/api/resources/assets/client/Client.js +24 -7
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +20 -0
- package/dist/api/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/collections/client/Client.d.ts +3 -3
- package/dist/api/resources/collections/client/Client.js +6 -2
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/dist/api/resources/collections/resources/fields/client/Client.js +6 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +53 -17
- package/dist/api/resources/collections/resources/items/client/Client.js +57 -17
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +4 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +4 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +9 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +9 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +3 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +3 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -0
- package/dist/api/resources/components/client/Client.d.ts +18 -9
- package/dist/api/resources/components/client/Client.js +21 -8
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +3 -1
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +3 -1
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +6 -2
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +6 -2
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +3 -1
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/ecommerce/client/Client.d.ts +3 -3
- package/dist/api/resources/ecommerce/client/Client.js +6 -2
- package/dist/api/resources/forms/client/Client.d.ts +14 -6
- package/dist/api/resources/forms/client/Client.js +17 -5
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/dist/api/resources/inventory/client/Client.d.ts +11 -11
- package/dist/api/resources/inventory/client/Client.js +22 -18
- package/dist/api/resources/orders/client/Client.d.ts +8 -4
- package/dist/api/resources/orders/client/Client.js +11 -3
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +5 -1
- package/dist/api/resources/pages/client/Client.d.ts +14 -15
- package/dist/api/resources/pages/client/Client.js +17 -14
- package/dist/api/resources/pages/client/requests/PageMetadataWrite.d.ts +9 -2
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +6 -2
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +6 -2
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +8 -6
- package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -5
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/products/client/Client.d.ts +7 -4
- package/dist/api/resources/products/client/Client.js +10 -3
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -1
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -2
- package/dist/api/resources/sites/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -4
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +10 -3
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -1
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +18 -6
- package/dist/api/resources/sites/resources/comments/client/Client.js +21 -5
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/plans/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/redirects/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +13 -6
- package/dist/api/resources/sites/resources/scripts/client/Client.js +16 -5
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -1
- package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +6 -5
- package/dist/api/resources/sites/resources/wellKnown/client/Client.js +9 -4
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +3 -2
- package/dist/api/resources/token/client/Client.d.ts +3 -3
- package/dist/api/resources/token/client/Client.js +6 -2
- package/dist/api/resources/users/client/Client.d.ts +8 -4
- package/dist/api/resources/users/client/Client.js +11 -3
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +5 -1
- package/dist/api/resources/webhooks/client/Client.d.ts +3 -3
- package/dist/api/resources/webhooks/client/Client.js +6 -2
- package/dist/api/resources/workspaces/client/Client.d.ts +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +9 -5
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +12 -4
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +6 -2
- package/dist/api/types/CollectionItemChanged.d.ts +1 -1
- package/dist/api/types/CollectionItemCreated.d.ts +1 -1
- package/dist/api/types/CollectionItemPublished.d.ts +9 -0
- package/dist/api/types/{ComponentInstance.d.ts → ComponentInstanceNodePropertyOverridesWrite.d.ts} +1 -1
- package/dist/api/types/{ComponentNodeDom.d.ts → ComponentNode.d.ts} +1 -1
- package/dist/api/types/Dom.d.ts +1 -1
- package/dist/api/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +1 -1
- package/dist/api/types/Node.d.ts +7 -7
- package/dist/api/types/Payload.d.ts +25 -0
- package/dist/api/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +1 -1
- package/dist/api/types/{SearchButtonNodeDom.d.ts → SearchButtonNode.d.ts} +1 -1
- package/dist/api/types/{SearchButton.d.ts → SearchButtonNodeWrite.d.ts} +1 -1
- package/dist/api/types/{SelectNodeDom.d.ts → SelectNode.d.ts} +1 -1
- package/dist/api/types/SiteMembership.d.ts +1 -0
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -1
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -0
- package/dist/api/types/SkuFieldData.d.ts +0 -4
- package/{api/types/SubmitButtonNodeDom.d.ts → dist/api/types/SubmitButtonNode.d.ts} +1 -1
- package/{api/types/SubmitButton.d.ts → dist/api/types/SubmitButtonNodeWrite.d.ts} +1 -1
- package/{api/types/TextInputNodeDom.d.ts → dist/api/types/TextInputNode.d.ts} +1 -1
- package/dist/api/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +1 -1
- package/dist/api/types/TextNode.d.ts +7 -4
- package/dist/api/types/TextNodeWrite.d.ts +12 -0
- package/dist/api/types/TriggerType.d.ts +2 -1
- package/dist/api/types/TriggerType.js +1 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +9 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -0
- package/dist/api/types/WorkspaceInvitation.d.ts +1 -0
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -1
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/dist/api/types/index.d.ts +17 -20
- package/dist/api/types/index.js +17 -20
- package/dist/environments.d.ts +0 -4
- package/dist/environments.js +0 -2
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +6 -6
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +10 -10
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +6 -6
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +10 -10
- package/dist/serialization/types/CollectionItemChanged.d.ts +2 -2
- package/dist/serialization/types/CollectionItemChanged.js +2 -2
- package/dist/serialization/types/CollectionItemCreated.d.ts +2 -2
- package/dist/serialization/types/CollectionItemCreated.js +2 -2
- package/dist/serialization/types/CollectionItemPublished.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPublished.js +45 -0
- package/{serialization/types/ComponentInstance.d.ts → dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts} +2 -2
- package/{serialization/types/ComponentInstance.js → dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js} +2 -2
- package/{serialization/types/ComponentNodeDom.d.ts → dist/serialization/types/ComponentNode.d.ts} +2 -2
- package/{serialization/types/ComponentNodeDom.js → dist/serialization/types/ComponentNode.js} +2 -2
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +1 -1
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -1
- package/dist/serialization/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +2 -2
- package/dist/serialization/types/{ImageNodeDom.js → ImageNode.js} +2 -2
- package/dist/serialization/types/Node.d.ts +14 -14
- package/dist/serialization/types/Node.js +14 -14
- package/dist/serialization/types/Payload.d.ts +23 -0
- package/dist/serialization/types/{MultiLocaleChangedPayload.js → Payload.js} +8 -8
- package/dist/serialization/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +2 -2
- package/dist/serialization/types/{SingleLocaleChangedPayloadFieldData.js → PayloadFieldData.js} +2 -2
- package/{serialization/types/SearchButtonNodeDom.d.ts → dist/serialization/types/SearchButtonNode.d.ts} +2 -2
- package/{serialization/types/SearchButtonNodeDom.js → dist/serialization/types/SearchButtonNode.js} +2 -2
- package/{serialization/types/SearchButton.d.ts → dist/serialization/types/SearchButtonNodeWrite.d.ts} +2 -2
- package/{serialization/types/SearchButton.js → dist/serialization/types/SearchButtonNodeWrite.js} +2 -2
- package/{serialization/types/SelectNodeDom.d.ts → dist/serialization/types/SelectNode.d.ts} +2 -2
- package/{serialization/types/SelectNodeDom.js → dist/serialization/types/SelectNode.js} +2 -2
- package/dist/serialization/types/SiteMembership.d.ts +2 -0
- package/dist/serialization/types/SiteMembership.js +2 -0
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -1
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -1
- package/dist/serialization/types/SkuFieldData.d.ts +0 -2
- package/dist/serialization/types/SkuFieldData.js +0 -2
- package/dist/serialization/types/{SubmitButtonNodeDom.d.ts → SubmitButtonNode.d.ts} +2 -2
- package/{serialization/types/SubmitButtonNodeDom.js → dist/serialization/types/SubmitButtonNode.js} +2 -2
- package/{serialization/types/SubmitButton.d.ts → dist/serialization/types/SubmitButtonNodeWrite.d.ts} +2 -2
- package/{serialization/types/SubmitButton.js → dist/serialization/types/SubmitButtonNodeWrite.js} +2 -2
- package/{serialization/types/TextInputNodeDom.d.ts → dist/serialization/types/TextInputNode.d.ts} +2 -2
- package/{serialization/types/TextInputNodeDom.js → dist/serialization/types/TextInputNode.js} +2 -2
- package/dist/serialization/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +2 -2
- package/dist/serialization/types/{TextInput.js → TextInputNodeWrite.js} +2 -2
- package/dist/serialization/types/TextNode.d.ts +4 -2
- package/dist/serialization/types/TextNode.js +4 -2
- package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
- package/dist/serialization/types/TextNodeWrite.js +44 -0
- package/dist/serialization/types/TriggerType.d.ts +1 -1
- package/dist/serialization/types/TriggerType.js +1 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +15 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +46 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +44 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -1
- package/dist/serialization/types/WorkspaceInvitation.d.ts +2 -0
- package/dist/serialization/types/WorkspaceInvitation.js +2 -0
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/dist/serialization/types/index.d.ts +17 -20
- package/dist/serialization/types/index.js +17 -20
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsClient.d.ts +24 -0
- package/dist/wrapper/AssetsClient.js +42 -0
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/environments.d.ts +0 -4
- package/environments.js +0 -2
- package/jest.config.mjs +0 -4
- package/package.json +3 -3
- package/reference.md +158 -54
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +6 -6
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +10 -10
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +6 -6
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +10 -10
- package/serialization/types/CollectionItemChanged.d.ts +2 -2
- package/serialization/types/CollectionItemChanged.js +2 -2
- package/serialization/types/CollectionItemCreated.d.ts +2 -2
- package/serialization/types/CollectionItemCreated.js +2 -2
- package/serialization/types/CollectionItemPublished.d.ts +14 -0
- package/serialization/types/CollectionItemPublished.js +45 -0
- package/{dist/serialization/types/ComponentInstance.d.ts → serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts} +2 -2
- package/{dist/serialization/types/ComponentInstance.js → serialization/types/ComponentInstanceNodePropertyOverridesWrite.js} +2 -2
- package/{dist/serialization/types/ComponentNodeDom.d.ts → serialization/types/ComponentNode.d.ts} +2 -2
- package/{dist/serialization/types/ComponentNodeDom.js → serialization/types/ComponentNode.js} +2 -2
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +1 -1
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -1
- package/serialization/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +2 -2
- package/serialization/types/{ImageNodeDom.js → ImageNode.js} +2 -2
- package/serialization/types/Node.d.ts +14 -14
- package/serialization/types/Node.js +14 -14
- package/serialization/types/Payload.d.ts +23 -0
- package/serialization/types/{MultiLocaleChangedPayload.js → Payload.js} +8 -8
- package/serialization/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +2 -2
- package/serialization/types/{SingleLocaleChangedPayloadFieldData.js → PayloadFieldData.js} +2 -2
- package/{dist/serialization/types/SearchButtonNodeDom.d.ts → serialization/types/SearchButtonNode.d.ts} +2 -2
- package/{dist/serialization/types/SearchButtonNodeDom.js → serialization/types/SearchButtonNode.js} +2 -2
- package/{dist/serialization/types/SearchButton.d.ts → serialization/types/SearchButtonNodeWrite.d.ts} +2 -2
- package/{dist/serialization/types/SearchButton.js → serialization/types/SearchButtonNodeWrite.js} +2 -2
- package/{dist/serialization/types/SelectNodeDom.d.ts → serialization/types/SelectNode.d.ts} +2 -2
- package/{dist/serialization/types/SelectNodeDom.js → serialization/types/SelectNode.js} +2 -2
- package/serialization/types/SiteMembership.d.ts +2 -0
- package/serialization/types/SiteMembership.js +2 -0
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -1
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -1
- package/serialization/types/SkuFieldData.d.ts +0 -2
- package/serialization/types/SkuFieldData.js +0 -2
- package/serialization/types/{SubmitButtonNodeDom.d.ts → SubmitButtonNode.d.ts} +2 -2
- package/{dist/serialization/types/SubmitButtonNodeDom.js → serialization/types/SubmitButtonNode.js} +2 -2
- package/{dist/serialization/types/SubmitButton.d.ts → serialization/types/SubmitButtonNodeWrite.d.ts} +2 -2
- package/{dist/serialization/types/SubmitButton.js → serialization/types/SubmitButtonNodeWrite.js} +2 -2
- package/{dist/serialization/types/TextInputNodeDom.d.ts → serialization/types/TextInputNode.d.ts} +2 -2
- package/{dist/serialization/types/TextInputNodeDom.js → serialization/types/TextInputNode.js} +2 -2
- package/serialization/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +2 -2
- package/serialization/types/{TextInput.js → TextInputNodeWrite.js} +2 -2
- package/serialization/types/TextNode.d.ts +4 -2
- package/serialization/types/TextNode.js +4 -2
- package/serialization/types/TextNodeWrite.d.ts +13 -0
- package/serialization/types/TextNodeWrite.js +44 -0
- package/serialization/types/TriggerType.d.ts +1 -1
- package/serialization/types/TriggerType.js +1 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +15 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +46 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +44 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -1
- package/serialization/types/WorkspaceInvitation.d.ts +2 -0
- package/serialization/types/WorkspaceInvitation.js +2 -0
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -1
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/serialization/types/index.d.ts +17 -20
- package/serialization/types/index.js +17 -20
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsClient.d.ts +24 -0
- package/wrapper/AssetsClient.js +42 -0
- package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/api/types/CollectionItemChangedPayload.d.ts +0 -5
- package/api/types/CollectionItemCreatedPayload.d.ts +0 -5
- package/api/types/LocalizedItem.d.ts +0 -31
- package/api/types/MultiLocaleChangedPayload.d.ts +0 -22
- package/api/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -11
- package/api/types/MultiLocaleCreatedPayload.d.ts +0 -16
- package/api/types/SingleLocaleChangedPayload.d.ts +0 -22
- package/api/types/TextNodeDom.d.ts +0 -15
- package/dist/api/types/CollectionItemChangedPayload.d.ts +0 -5
- package/dist/api/types/CollectionItemCreatedPayload.d.ts +0 -5
- package/dist/api/types/LocalizedItem.d.ts +0 -31
- package/dist/api/types/MultiLocaleChangedPayload.d.ts +0 -22
- package/dist/api/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -11
- package/dist/api/types/MultiLocaleCreatedPayload.d.ts +0 -16
- package/dist/api/types/SingleLocaleChangedPayload.d.ts +0 -22
- package/dist/api/types/SubmitButtonNodeDom.js +0 -5
- package/dist/api/types/TextInput.js +0 -5
- package/dist/api/types/TextInputNodeDom.js +0 -5
- package/dist/api/types/TextNodeDom.d.ts +0 -15
- package/dist/api/types/TextNodeDom.js +0 -5
- package/dist/serialization/types/CollectionItemChangedPayload.d.ts +0 -12
- package/dist/serialization/types/CollectionItemChangedPayload.js +0 -43
- package/dist/serialization/types/CollectionItemCreatedPayload.d.ts +0 -12
- package/dist/serialization/types/CollectionItemCreatedPayload.js +0 -43
- package/dist/serialization/types/LocalizedItem.d.ts +0 -24
- package/dist/serialization/types/LocalizedItem.js +0 -55
- package/dist/serialization/types/MultiLocaleChangedPayload.d.ts +0 -23
- package/dist/serialization/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -15
- package/dist/serialization/types/MultiLocaleChangedPayloadFieldData.js +0 -47
- package/dist/serialization/types/MultiLocaleCreatedPayload.d.ts +0 -17
- package/dist/serialization/types/MultiLocaleCreatedPayload.js +0 -48
- package/dist/serialization/types/SingleLocaleChangedPayload.d.ts +0 -23
- package/dist/serialization/types/SingleLocaleChangedPayload.js +0 -54
- package/dist/serialization/types/TextNodeDom.d.ts +0 -15
- package/dist/serialization/types/TextNodeDom.js +0 -46
- package/serialization/types/CollectionItemChangedPayload.d.ts +0 -12
- package/serialization/types/CollectionItemChangedPayload.js +0 -43
- package/serialization/types/CollectionItemCreatedPayload.d.ts +0 -12
- package/serialization/types/CollectionItemCreatedPayload.js +0 -43
- package/serialization/types/LocalizedItem.d.ts +0 -24
- package/serialization/types/LocalizedItem.js +0 -55
- package/serialization/types/MultiLocaleChangedPayload.d.ts +0 -23
- package/serialization/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -15
- package/serialization/types/MultiLocaleChangedPayloadFieldData.js +0 -47
- package/serialization/types/MultiLocaleCreatedPayload.d.ts +0 -17
- package/serialization/types/MultiLocaleCreatedPayload.js +0 -48
- package/serialization/types/SingleLocaleChangedPayload.d.ts +0 -23
- package/serialization/types/SingleLocaleChangedPayload.js +0 -54
- package/serialization/types/TextNodeDom.d.ts +0 -15
- package/serialization/types/TextNodeDom.js +0 -46
- /package/api/{types/CollectionItemChangedPayload.js → resources/assets/client/requests/AssetsListRequest.js} +0 -0
- /package/api/types/{CollectionItemCreatedPayload.js → CollectionItemPublished.js} +0 -0
- /package/api/types/{ComponentInstance.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/api/types/{ComponentNodeDom.js → ComponentNode.js} +0 -0
- /package/api/types/{ImageNodeDom.js → ImageNode.js} +0 -0
- /package/api/types/{LocalizedItem.js → Payload.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayload.js → PayloadFieldData.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayloadFieldData.js → SearchButtonNode.js} +0 -0
- /package/api/types/{MultiLocaleCreatedPayload.js → SearchButtonNodeWrite.js} +0 -0
- /package/api/types/{SearchButton.js → SelectNode.js} +0 -0
- /package/api/types/{SearchButtonNodeDom.js → SubmitButtonNode.js} +0 -0
- /package/api/types/{SelectNodeDom.js → SubmitButtonNodeWrite.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayload.js → TextInputNode.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayloadFieldData.js → TextInputNodeWrite.js} +0 -0
- /package/api/types/{SubmitButton.js → TextNodeWrite.js} +0 -0
- /package/api/types/{SubmitButtonNodeDom.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/api/types/{TextInput.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
- /package/{api/types/TextInputNodeDom.js → dist/api/resources/assets/client/requests/AssetsListRequest.js} +0 -0
- /package/{api/types/TextNodeDom.js → dist/api/types/CollectionItemPublished.js} +0 -0
- /package/dist/api/types/{CollectionItemChangedPayload.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/dist/api/types/{CollectionItemCreatedPayload.js → ComponentNode.js} +0 -0
- /package/dist/api/types/{ComponentInstance.js → ImageNode.js} +0 -0
- /package/dist/api/types/{ComponentNodeDom.js → Payload.js} +0 -0
- /package/dist/api/types/{ImageNodeDom.js → PayloadFieldData.js} +0 -0
- /package/dist/api/types/{LocalizedItem.js → SearchButtonNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayload.js → SearchButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayloadFieldData.js → SelectNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleCreatedPayload.js → SubmitButtonNode.js} +0 -0
- /package/dist/api/types/{SearchButton.js → SubmitButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{SearchButtonNodeDom.js → TextInputNode.js} +0 -0
- /package/dist/api/types/{SelectNodeDom.js → TextInputNodeWrite.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayload.js → TextNodeWrite.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayloadFieldData.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/dist/api/types/{SubmitButton.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
get-custom-code:
|
|
8
8
|
path: /pages/{page_id}/custom_code
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- custom_code:read
|
|
11
13
|
docs: |
|
|
12
14
|
Get all scripts applied to a page.
|
|
13
15
|
|
|
@@ -45,14 +47,22 @@ service:
|
|
|
45
47
|
upsert-custom-code:
|
|
46
48
|
path: /pages/{page_id}/custom_code
|
|
47
49
|
method: PUT
|
|
48
|
-
auth:
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
auth:
|
|
51
|
+
- OAuth2:
|
|
52
|
+
- custom_code:write
|
|
53
|
+
docs: >
|
|
54
|
+
Apply registered scripts to a page. If you have multiple scripts your
|
|
55
|
+
App needs to apply or maintain on a page, ensure they are always
|
|
56
|
+
included in the request body for this endpoint. To remove individual
|
|
57
|
+
scripts, simply call this endpoint without the script in the request
|
|
58
|
+
body.
|
|
59
|
+
|
|
51
60
|
|
|
52
61
|
<Note title="Script Registration">
|
|
53
62
|
To apply a script to a page, the script must first be registered to a Site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
54
63
|
</Note>
|
|
55
64
|
|
|
65
|
+
|
|
56
66
|
Required scope | `custom_code:write`
|
|
57
67
|
source:
|
|
58
68
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -106,13 +116,22 @@ service:
|
|
|
106
116
|
delete-custom-code:
|
|
107
117
|
path: /pages/{page_id}/custom_code
|
|
108
118
|
method: DELETE
|
|
109
|
-
auth:
|
|
119
|
+
auth:
|
|
120
|
+
- OAuth2:
|
|
121
|
+
- custom_code:write
|
|
110
122
|
docs: >
|
|
111
|
-
|
|
123
|
+
Remove all scripts from a page applied by the App. This endpoint will
|
|
124
|
+
not remove scripts from the site's registered scripts.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
To remove individual scripts applied by the App, use the [Add/Update
|
|
128
|
+
Custom
|
|
129
|
+
Code](/data/reference/custom-code/custom-code-pages/upsert-custom-code)
|
|
130
|
+
endpoint.
|
|
112
131
|
|
|
113
132
|
|
|
114
|
-
<Note>Access to this endpoint requires a bearer token from
|
|
115
|
-
|
|
133
|
+
<Note>Access to this endpoint requires a bearer token obtained from an
|
|
134
|
+
[OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
|
|
116
135
|
|
|
117
136
|
|
|
118
137
|
Required scope | `custom_code:write`
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/pages
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- page:read
|
|
11
13
|
docs: |
|
|
12
14
|
List of all pages for a site.
|
|
13
15
|
|
|
@@ -24,9 +26,12 @@ service:
|
|
|
24
26
|
query-parameters:
|
|
25
27
|
localeId:
|
|
26
28
|
type: optional<string>
|
|
27
|
-
docs:
|
|
28
|
-
Unique identifier for a specific
|
|
29
|
-
|
|
29
|
+
docs: >
|
|
30
|
+
Unique identifier for a specific Locale.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
[Lear more about
|
|
34
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
30
35
|
limit:
|
|
31
36
|
type: optional<double>
|
|
32
37
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
@@ -50,6 +55,8 @@ service:
|
|
|
50
55
|
site_id: 580e63e98c9a982ac9b8b741
|
|
51
56
|
query-parameters:
|
|
52
57
|
localeId: 65427cf400e02b306eaa04a0
|
|
58
|
+
limit: 1.1
|
|
59
|
+
offset: 1.1
|
|
53
60
|
response:
|
|
54
61
|
body:
|
|
55
62
|
pages:
|
|
@@ -111,7 +118,9 @@ service:
|
|
|
111
118
|
get-metadata:
|
|
112
119
|
path: /pages/{page_id}
|
|
113
120
|
method: GET
|
|
114
|
-
auth:
|
|
121
|
+
auth:
|
|
122
|
+
- OAuth2:
|
|
123
|
+
- page:read
|
|
115
124
|
docs: |
|
|
116
125
|
Get metadata information for a single page.
|
|
117
126
|
|
|
@@ -128,9 +137,12 @@ service:
|
|
|
128
137
|
query-parameters:
|
|
129
138
|
localeId:
|
|
130
139
|
type: optional<string>
|
|
131
|
-
docs:
|
|
132
|
-
Unique identifier for a specific
|
|
133
|
-
|
|
140
|
+
docs: >
|
|
141
|
+
Unique identifier for a specific Locale.
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
[Lear more about
|
|
145
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
134
146
|
response:
|
|
135
147
|
docs: Request was successful
|
|
136
148
|
type: root.Page
|
|
@@ -176,14 +188,12 @@ service:
|
|
|
176
188
|
update-page-settings:
|
|
177
189
|
path: /pages/{page_id}
|
|
178
190
|
method: PUT
|
|
179
|
-
auth:
|
|
191
|
+
auth:
|
|
192
|
+
- OAuth2:
|
|
193
|
+
- page:write
|
|
180
194
|
docs: |
|
|
181
195
|
Update Page-level metadata, including SEO and Open Graph fields.
|
|
182
196
|
|
|
183
|
-
<Note>
|
|
184
|
-
Note: When updating Page Metadata in secondary locales, you may only add `slug` to the request if your Site has the [Advanced or Enterprise Localization](https://webflow.com/localization) add-on.
|
|
185
|
-
</Note>
|
|
186
|
-
|
|
187
197
|
Required scope | `pages:write`
|
|
188
198
|
source:
|
|
189
199
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -197,9 +207,12 @@ service:
|
|
|
197
207
|
query-parameters:
|
|
198
208
|
localeId:
|
|
199
209
|
type: optional<string>
|
|
200
|
-
docs:
|
|
201
|
-
Unique identifier for a specific
|
|
202
|
-
|
|
210
|
+
docs: >
|
|
211
|
+
Unique identifier for a specific Locale.
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
[Lear more about
|
|
215
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
203
216
|
body:
|
|
204
217
|
properties:
|
|
205
218
|
title:
|
|
@@ -207,7 +220,14 @@ service:
|
|
|
207
220
|
docs: Title for the page
|
|
208
221
|
slug:
|
|
209
222
|
type: optional<string>
|
|
210
|
-
docs:
|
|
223
|
+
docs: >
|
|
224
|
+
Slug for the page.
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
**Note:** Updating slugs in secondary locales is only supported
|
|
229
|
+
in <a href="https://webflow.com/localization">Advanced and
|
|
230
|
+
Enterprise localization add-on plans.</a>
|
|
211
231
|
seo:
|
|
212
232
|
type: optional<PageMetadataWriteSeo>
|
|
213
233
|
docs: SEO-related fields for the Page
|
|
@@ -275,24 +295,13 @@ service:
|
|
|
275
295
|
get-content:
|
|
276
296
|
path: /pages/{page_id}/dom
|
|
277
297
|
method: GET
|
|
278
|
-
auth:
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
overrides](https://help.webflow.com/hc/en-us/articles/33961219350547-Component-properties#how-to-modify-property-values-on-component-instances).
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
To retrieve the static content of a component instance, use the [Get
|
|
287
|
-
Component
|
|
288
|
-
Content](/data/reference/pages-and-components/components/get-content)
|
|
289
|
-
endpoint.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
<Note>If you do not include a `localeId` in your request, the response
|
|
293
|
-
will return any content that can be localized from the Primary
|
|
294
|
-
locale.</Note>
|
|
298
|
+
auth:
|
|
299
|
+
- OAuth2:
|
|
300
|
+
- page:read
|
|
301
|
+
docs: |
|
|
302
|
+
Get text and component instance content from a static page.
|
|
295
303
|
|
|
304
|
+
<Badge intent="info">Localization</Badge>
|
|
296
305
|
|
|
297
306
|
Required scope | `pages:read`
|
|
298
307
|
source:
|
|
@@ -307,9 +316,12 @@ service:
|
|
|
307
316
|
query-parameters:
|
|
308
317
|
localeId:
|
|
309
318
|
type: optional<string>
|
|
310
|
-
docs:
|
|
311
|
-
Unique identifier for a specific
|
|
312
|
-
|
|
319
|
+
docs: >
|
|
320
|
+
Unique identifier for a specific Locale.
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
[Lear more about
|
|
324
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
313
325
|
limit:
|
|
314
326
|
type: optional<double>
|
|
315
327
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
@@ -334,6 +346,8 @@ service:
|
|
|
334
346
|
page_id: 63c720f9347c2139b248e552
|
|
335
347
|
query-parameters:
|
|
336
348
|
localeId: 65427cf400e02b306eaa04a0
|
|
349
|
+
limit: 1.1
|
|
350
|
+
offset: 1.1
|
|
337
351
|
response:
|
|
338
352
|
body:
|
|
339
353
|
pageId: 658205daa3e8206a523b5ad4
|
|
@@ -384,7 +398,9 @@ service:
|
|
|
384
398
|
update-static-content:
|
|
385
399
|
path: /pages/{page_id}/dom
|
|
386
400
|
method: POST
|
|
387
|
-
auth:
|
|
401
|
+
auth:
|
|
402
|
+
- OAuth2:
|
|
403
|
+
- page:write
|
|
388
404
|
docs: >
|
|
389
405
|
This endpoint updates content on a static page in **secondary locales**.
|
|
390
406
|
It supports updating up to 1000 nodes in a single request.
|
|
@@ -394,12 +410,17 @@ service:
|
|
|
394
410
|
|
|
395
411
|
1. Use the [get page
|
|
396
412
|
content](/data/reference/pages-and-components/pages/get-content)
|
|
397
|
-
endpoint to identify available content nodes and their types
|
|
413
|
+
endpoint to identify available content nodes and their types.
|
|
398
414
|
|
|
399
415
|
2. If the page has component instances, retrieve the component's
|
|
400
416
|
properties that you'll override using the [get component
|
|
401
417
|
properties](/data/reference/pages-and-components/components/get-properties)
|
|
402
|
-
endpoint
|
|
418
|
+
endpoint.
|
|
419
|
+
|
|
420
|
+
3. DOM elements may include a `data-w-id` attribute. This attribute is
|
|
421
|
+
used by Webflow to maintain custom attributes and links across locales.
|
|
422
|
+
Always include the original `data-w-id` value in your update requests to
|
|
423
|
+
ensure consistent behavior across all locales.
|
|
403
424
|
|
|
404
425
|
|
|
405
426
|
<Note>
|
|
@@ -514,12 +535,12 @@ types:
|
|
|
514
535
|
PageDomWriteNodesItem:
|
|
515
536
|
discriminated: false
|
|
516
537
|
union:
|
|
517
|
-
- type: root.
|
|
518
|
-
- type: root.
|
|
538
|
+
- type: root.TextNodeWrite
|
|
539
|
+
- type: root.ComponentInstanceNodePropertyOverridesWrite
|
|
519
540
|
- type: root.Select
|
|
520
|
-
- type: root.
|
|
521
|
-
- type: root.
|
|
522
|
-
- type: root.
|
|
541
|
+
- type: root.TextInputNodeWrite
|
|
542
|
+
- type: root.SubmitButtonNodeWrite
|
|
543
|
+
- type: root.SearchButtonNodeWrite
|
|
523
544
|
source:
|
|
524
545
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
525
546
|
inline: true
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/products
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- ecommerce:read
|
|
11
13
|
docs: >
|
|
12
14
|
Retrieve all products for a site.
|
|
13
15
|
|
|
@@ -53,6 +55,9 @@ service:
|
|
|
53
55
|
examples:
|
|
54
56
|
- path-parameters:
|
|
55
57
|
site_id: 580e63e98c9a982ac9b8b741
|
|
58
|
+
query-parameters:
|
|
59
|
+
offset: 1.1
|
|
60
|
+
limit: 1.1
|
|
56
61
|
response:
|
|
57
62
|
body:
|
|
58
63
|
items:
|
|
@@ -92,7 +97,6 @@ service:
|
|
|
92
97
|
value: 2499
|
|
93
98
|
unit: USD
|
|
94
99
|
currency: USD
|
|
95
|
-
quantity: 10
|
|
96
100
|
main-image: https://www.example.com/image.jpg
|
|
97
101
|
sku: '1234567890'
|
|
98
102
|
sku-properties:
|
|
@@ -109,7 +113,9 @@ service:
|
|
|
109
113
|
create:
|
|
110
114
|
path: /sites/{site_id}/products
|
|
111
115
|
method: POST
|
|
112
|
-
auth:
|
|
116
|
+
auth:
|
|
117
|
+
- OAuth2:
|
|
118
|
+
- ecommerce:write
|
|
113
119
|
docs: >
|
|
114
120
|
Create a new ecommerce product and defaultSKU. A product, at minimum,
|
|
115
121
|
must have a single SKU.
|
|
@@ -243,7 +249,6 @@ service:
|
|
|
243
249
|
value: 2499
|
|
244
250
|
unit: USD
|
|
245
251
|
currency: USD
|
|
246
|
-
quantity: 10
|
|
247
252
|
main-image: https://www.example.com/image.jpg
|
|
248
253
|
sku: '1234567890'
|
|
249
254
|
sku-properties:
|
|
@@ -256,7 +261,9 @@ service:
|
|
|
256
261
|
get:
|
|
257
262
|
path: /sites/{site_id}/products/{product_id}
|
|
258
263
|
method: GET
|
|
259
|
-
auth:
|
|
264
|
+
auth:
|
|
265
|
+
- OAuth2:
|
|
266
|
+
- ecommerce:read
|
|
260
267
|
docs: |
|
|
261
268
|
Retrieve a single product by its ID. All of its SKUs will also be
|
|
262
269
|
retrieved.
|
|
@@ -331,7 +338,6 @@ service:
|
|
|
331
338
|
value: 2499
|
|
332
339
|
unit: USD
|
|
333
340
|
currency: USD
|
|
334
|
-
quantity: 10
|
|
335
341
|
main-image: https://www.example.com/image.jpg
|
|
336
342
|
sku: '1234567890'
|
|
337
343
|
sku-properties:
|
|
@@ -344,7 +350,9 @@ service:
|
|
|
344
350
|
update:
|
|
345
351
|
path: /sites/{site_id}/products/{product_id}
|
|
346
352
|
method: PATCH
|
|
347
|
-
auth:
|
|
353
|
+
auth:
|
|
354
|
+
- OAuth2:
|
|
355
|
+
- ecommerce:write
|
|
348
356
|
docs: >
|
|
349
357
|
Update an existing Product.
|
|
350
358
|
|
|
@@ -419,7 +427,9 @@ service:
|
|
|
419
427
|
create-sku:
|
|
420
428
|
path: /sites/{site_id}/products/{product_id}/skus
|
|
421
429
|
method: POST
|
|
422
|
-
auth:
|
|
430
|
+
auth:
|
|
431
|
+
- OAuth2:
|
|
432
|
+
- ecommerce:write
|
|
423
433
|
docs: >
|
|
424
434
|
Create additional SKUs to manage every [option and variant of your
|
|
425
435
|
Product.](https://help.webflow.com/hc/en-us/articles/33961334531347-Create-product-options-and-variants)
|
|
@@ -498,7 +508,6 @@ service:
|
|
|
498
508
|
value: 2499
|
|
499
509
|
unit: USD
|
|
500
510
|
currency: USD
|
|
501
|
-
quantity: 10
|
|
502
511
|
main-image: https://www.example.com/image.jpg
|
|
503
512
|
sku: '1234567890'
|
|
504
513
|
sku-properties:
|
|
@@ -511,7 +520,9 @@ service:
|
|
|
511
520
|
update-sku:
|
|
512
521
|
path: /sites/{site_id}/products/{product_id}/skus/{sku_id}
|
|
513
522
|
method: PATCH
|
|
514
|
-
auth:
|
|
523
|
+
auth:
|
|
524
|
+
- OAuth2:
|
|
525
|
+
- ecommerce:write
|
|
515
526
|
docs: >
|
|
516
527
|
Update a specified SKU.
|
|
517
528
|
|
|
@@ -600,8 +611,6 @@ service:
|
|
|
600
611
|
trial: 7
|
|
601
612
|
plans:
|
|
602
613
|
- {}
|
|
603
|
-
track-inventory: true
|
|
604
|
-
quantity: 10
|
|
605
614
|
main-image: https://www.example.com/image.jpg
|
|
606
615
|
sku: '1234567890'
|
|
607
616
|
sku-properties:
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/registered_scripts
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- custom_code:read
|
|
11
13
|
docs: >
|
|
12
14
|
Get a list of scripts that have been registered to a site. A site can
|
|
13
15
|
have a maximum of 800 registered scripts.
|
|
@@ -72,7 +74,9 @@ service:
|
|
|
72
74
|
register-hosted:
|
|
73
75
|
path: /sites/{site_id}/registered_scripts/hosted
|
|
74
76
|
method: POST
|
|
75
|
-
auth:
|
|
77
|
+
auth:
|
|
78
|
+
- OAuth2:
|
|
79
|
+
- custom_code:write
|
|
76
80
|
docs: |
|
|
77
81
|
Register a hosted script to a site.
|
|
78
82
|
|
|
@@ -147,7 +151,9 @@ service:
|
|
|
147
151
|
register-inline:
|
|
148
152
|
path: /sites/{site_id}/registered_scripts/inline
|
|
149
153
|
method: POST
|
|
150
|
-
auth:
|
|
154
|
+
auth:
|
|
155
|
+
- OAuth2:
|
|
156
|
+
- custom_code:write
|
|
151
157
|
docs: >
|
|
152
158
|
Register an inline script to a site. Inline scripts are limited to 2000
|
|
153
159
|
characters.
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/activity_logs
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- site_activity:read
|
|
11
13
|
docs: >
|
|
12
14
|
Retrieve Activity Logs for a specific Site.
|
|
13
15
|
|
|
@@ -47,6 +49,9 @@ service:
|
|
|
47
49
|
examples:
|
|
48
50
|
- path-parameters:
|
|
49
51
|
site_id: 580e63e98c9a982ac9b8b741
|
|
52
|
+
query-parameters:
|
|
53
|
+
limit: 1.1
|
|
54
|
+
offset: 1.1
|
|
50
55
|
response:
|
|
51
56
|
body:
|
|
52
57
|
items:
|
|
@@ -44,7 +44,9 @@ service:
|
|
|
44
44
|
list-comment-threads:
|
|
45
45
|
path: /sites/{site_id}/comments
|
|
46
46
|
method: GET
|
|
47
|
-
auth:
|
|
47
|
+
auth:
|
|
48
|
+
- OAuth2:
|
|
49
|
+
- comments:read
|
|
48
50
|
docs: |
|
|
49
51
|
List all comment threads for a site.
|
|
50
52
|
|
|
@@ -65,9 +67,12 @@ service:
|
|
|
65
67
|
query-parameters:
|
|
66
68
|
localeId:
|
|
67
69
|
type: optional<string>
|
|
68
|
-
docs:
|
|
69
|
-
Unique identifier for a specific
|
|
70
|
-
|
|
70
|
+
docs: >
|
|
71
|
+
Unique identifier for a specific Locale.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
[Lear more about
|
|
75
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
71
76
|
offset:
|
|
72
77
|
type: optional<double>
|
|
73
78
|
docs: >-
|
|
@@ -99,6 +104,10 @@ service:
|
|
|
99
104
|
site_id: 580e63e98c9a982ac9b8b741
|
|
100
105
|
query-parameters:
|
|
101
106
|
localeId: 65427cf400e02b306eaa04a0
|
|
107
|
+
offset: 1.1
|
|
108
|
+
limit: 1.1
|
|
109
|
+
sortBy: createdOn
|
|
110
|
+
sortOrder: asc
|
|
102
111
|
response:
|
|
103
112
|
body:
|
|
104
113
|
comments:
|
|
@@ -149,7 +158,9 @@ service:
|
|
|
149
158
|
get-comment-thread:
|
|
150
159
|
path: /sites/{site_id}/comments/{comment_thread_id}
|
|
151
160
|
method: GET
|
|
152
|
-
auth:
|
|
161
|
+
auth:
|
|
162
|
+
- OAuth2:
|
|
163
|
+
- comments:read
|
|
153
164
|
docs: |
|
|
154
165
|
Get details of a specific comment thread.
|
|
155
166
|
|
|
@@ -173,9 +184,12 @@ service:
|
|
|
173
184
|
query-parameters:
|
|
174
185
|
localeId:
|
|
175
186
|
type: optional<string>
|
|
176
|
-
docs:
|
|
177
|
-
Unique identifier for a specific
|
|
178
|
-
|
|
187
|
+
docs: >
|
|
188
|
+
Unique identifier for a specific Locale.
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
[Lear more about
|
|
192
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
179
193
|
offset:
|
|
180
194
|
type: optional<double>
|
|
181
195
|
docs: >-
|
|
@@ -208,6 +222,10 @@ service:
|
|
|
208
222
|
comment_thread_id: 580e63e98c9a982ac9b8b741
|
|
209
223
|
query-parameters:
|
|
210
224
|
localeId: 65427cf400e02b306eaa04a0
|
|
225
|
+
offset: 1.1
|
|
226
|
+
limit: 1.1
|
|
227
|
+
sortBy: createdOn
|
|
228
|
+
sortOrder: asc
|
|
211
229
|
response:
|
|
212
230
|
body:
|
|
213
231
|
id: 580e64008c9a982ac9b8b754
|
|
@@ -233,7 +251,9 @@ service:
|
|
|
233
251
|
list-comment-replies:
|
|
234
252
|
path: /sites/{site_id}/comments/{comment_thread_id}/replies
|
|
235
253
|
method: GET
|
|
236
|
-
auth:
|
|
254
|
+
auth:
|
|
255
|
+
- OAuth2:
|
|
256
|
+
- comments:read
|
|
237
257
|
docs: |
|
|
238
258
|
List all replies to a specific comment thread.
|
|
239
259
|
|
|
@@ -257,9 +277,12 @@ service:
|
|
|
257
277
|
query-parameters:
|
|
258
278
|
localeId:
|
|
259
279
|
type: optional<string>
|
|
260
|
-
docs:
|
|
261
|
-
Unique identifier for a specific
|
|
262
|
-
|
|
280
|
+
docs: >
|
|
281
|
+
Unique identifier for a specific Locale.
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
[Lear more about
|
|
285
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
263
286
|
offset:
|
|
264
287
|
type: optional<double>
|
|
265
288
|
docs: >-
|
|
@@ -292,6 +315,10 @@ service:
|
|
|
292
315
|
comment_thread_id: 580e63e98c9a982ac9b8b741
|
|
293
316
|
query-parameters:
|
|
294
317
|
localeId: 65427cf400e02b306eaa04a0
|
|
318
|
+
offset: 1.1
|
|
319
|
+
limit: 1.1
|
|
320
|
+
sortBy: createdOn
|
|
321
|
+
sortOrder: asc
|
|
295
322
|
response:
|
|
296
323
|
body:
|
|
297
324
|
comments:
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/redirects
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- sites:read
|
|
11
13
|
docs: >
|
|
12
14
|
Fetch a list of all 301 redirect rules configured for a specific site.
|
|
13
15
|
|
|
@@ -57,7 +59,9 @@ service:
|
|
|
57
59
|
create:
|
|
58
60
|
path: /sites/{site_id}/redirects
|
|
59
61
|
method: POST
|
|
60
|
-
auth:
|
|
62
|
+
auth:
|
|
63
|
+
- OAuth2:
|
|
64
|
+
- sites:write
|
|
61
65
|
docs: >
|
|
62
66
|
Add a new 301 redirection rule to a site.
|
|
63
67
|
|
|
@@ -108,7 +112,9 @@ service:
|
|
|
108
112
|
delete:
|
|
109
113
|
path: /sites/{site_id}/redirects/{redirect_id}
|
|
110
114
|
method: DELETE
|
|
111
|
-
auth:
|
|
115
|
+
auth:
|
|
116
|
+
- OAuth2:
|
|
117
|
+
- sites:write
|
|
112
118
|
docs: >
|
|
113
119
|
Remove a 301 redirection rule from a site.
|
|
114
120
|
|
|
@@ -163,7 +169,9 @@ service:
|
|
|
163
169
|
update:
|
|
164
170
|
path: /sites/{site_id}/redirects/{redirect_id}
|
|
165
171
|
method: PATCH
|
|
166
|
-
auth:
|
|
172
|
+
auth:
|
|
173
|
+
- OAuth2:
|
|
174
|
+
- sites:write
|
|
167
175
|
docs: >
|
|
168
176
|
Update a 301 redirection rule from a site.
|
|
169
177
|
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
get:
|
|
8
8
|
path: /sites/{site_id}/robots_txt
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- site_config:read
|
|
11
13
|
docs: >
|
|
12
14
|
Retrieve the robots.txt configuration for various user agents.
|
|
13
15
|
|
|
@@ -50,7 +52,9 @@ service:
|
|
|
50
52
|
put:
|
|
51
53
|
path: /sites/{site_id}/robots_txt
|
|
52
54
|
method: PUT
|
|
53
|
-
auth:
|
|
55
|
+
auth:
|
|
56
|
+
- OAuth2:
|
|
57
|
+
- site_config:write
|
|
54
58
|
docs: >
|
|
55
59
|
Replace the `robots.txt` configuration for various user agents.
|
|
56
60
|
|
|
@@ -105,7 +109,9 @@ service:
|
|
|
105
109
|
delete:
|
|
106
110
|
path: /sites/{site_id}/robots_txt
|
|
107
111
|
method: DELETE
|
|
108
|
-
auth:
|
|
112
|
+
auth:
|
|
113
|
+
- OAuth2:
|
|
114
|
+
- site_config:write
|
|
109
115
|
docs: >
|
|
110
116
|
Remove specific rules for a user-agent in your `robots.txt` file. To
|
|
111
117
|
delete all rules for a user-agent, provide an empty rule set. This will
|
|
@@ -165,7 +171,9 @@ service:
|
|
|
165
171
|
patch:
|
|
166
172
|
path: /sites/{site_id}/robots_txt
|
|
167
173
|
method: PATCH
|
|
168
|
-
auth:
|
|
174
|
+
auth:
|
|
175
|
+
- OAuth2:
|
|
176
|
+
- site_config:write
|
|
169
177
|
docs: >
|
|
170
178
|
Update the `robots.txt` configuration for various user agents.
|
|
171
179
|
|