webflow-api 3.0.0 → 3.1.0
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 +613 -214
- package/.mock/definition/accessGroups.yml +3 -3
- package/.mock/definition/assets.yml +10 -9
- package/.mock/definition/collections/fields.yml +16 -14
- package/.mock/definition/collections/items.yml +180 -63
- package/.mock/definition/collections.yml +6 -5
- package/.mock/definition/components.yml +486 -0
- package/.mock/definition/ecommerce.yml +2 -2
- package/.mock/definition/forms.yml +7 -6
- package/.mock/definition/inventory.yml +8 -6
- package/.mock/definition/orders.yml +11 -9
- package/.mock/definition/pages/scripts.yml +18 -17
- package/.mock/definition/pages.yml +91 -64
- package/.mock/definition/products.yml +9 -9
- package/.mock/definition/scripts.yml +12 -16
- package/.mock/definition/sites/activityLogs.yml +2 -2
- package/.mock/definition/sites/plans.yml +40 -0
- package/.mock/definition/sites/redirects.yml +190 -0
- package/.mock/definition/sites/scripts.yml +16 -21
- package/.mock/definition/sites.yml +202 -6
- package/.mock/definition/token.yml +5 -4
- package/.mock/definition/users.yml +8 -8
- package/.mock/definition/webhooks.yml +9 -9
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -0
- package/Client.js +25 -20
- package/MIGRATION.md +32 -15
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +5 -0
- package/api/resources/assets/client/Client.js +13 -8
- package/api/resources/collections/client/Client.d.ts +3 -0
- package/api/resources/collections/client/Client.js +7 -4
- package/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/api/resources/collections/resources/items/client/Client.d.ts +13 -20
- package/api/resources/collections/resources/items/client/Client.js +31 -36
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
- package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
- package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/index.d.ts +3 -3
- package/api/resources/collections/resources/items/types/index.js +3 -3
- package/api/resources/components/client/Client.d.ts +176 -0
- package/api/resources/components/client/Client.js +670 -0
- package/api/resources/components/client/index.d.ts +1 -0
- package/api/resources/components/client/index.js +17 -0
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/api/resources/components/client/requests/index.d.ts +5 -0
- package/api/resources/components/client/requests/index.js +2 -0
- package/api/resources/components/index.d.ts +2 -0
- package/api/resources/components/index.js +18 -0
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/api/resources/components/types/index.d.ts +4 -0
- package/api/resources/components/types/index.js +20 -0
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.d.ts +3 -0
- package/api/resources/forms/client/Client.js +8 -5
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/inventory/client/Client.d.ts +3 -1
- package/api/resources/inventory/client/Client.js +5 -3
- package/api/resources/orders/client/Client.d.ts +3 -0
- package/api/resources/orders/client/Client.js +9 -6
- package/api/resources/pages/client/Client.d.ts +26 -10
- package/api/resources/pages/client/Client.js +32 -18
- package/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/api/resources/pages/client/requests/index.d.ts +1 -1
- package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
- package/api/resources/pages/resources/scripts/client/Client.js +11 -6
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/api/resources/pages/types/index.d.ts +1 -1
- package/api/resources/pages/types/index.js +1 -1
- package/api/resources/products/client/Client.d.ts +5 -6
- package/api/resources/products/client/Client.js +11 -12
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +6 -6
- package/api/resources/sites/client/Client.d.ts +70 -0
- package/api/resources/sites/client/Client.js +330 -9
- package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/api/resources/sites/client/requests/index.d.ts +2 -0
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/api/resources/sites/resources/index.d.ts +2 -0
- package/api/resources/sites/resources/index.js +3 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/api/resources/sites/resources/plans/client/Client.js +155 -0
- package/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/api/resources/sites/resources/plans/client/index.js +2 -0
- package/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/api/resources/sites/resources/plans/index.js +17 -0
- package/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
- package/api/resources/sites/resources/redirects/client/Client.js +472 -0
- package/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/api/resources/sites/resources/redirects/index.js +17 -0
- package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/api/resources/token/client/Client.d.ts +2 -1
- package/api/resources/token/client/Client.js +4 -3
- package/api/resources/users/client/Client.d.ts +1 -1
- package/api/resources/users/client/Client.js +6 -6
- package/api/resources/webhooks/client/Client.d.ts +4 -1
- package/api/resources/webhooks/client/Client.js +8 -5
- package/api/types/CollectionItem.d.ts +6 -2
- package/api/types/CollectionItemFieldData.d.ts +2 -2
- package/api/types/CollectionItemPatchSingle.d.ts +24 -0
- package/api/types/CollectionItemPatchSingle.js +5 -0
- package/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
- package/api/types/CollectionItemPatchSingleFieldData.js +5 -0
- package/api/types/CollectionItemPostSingle.d.ts +28 -0
- package/api/types/CollectionItemPostSingle.js +5 -0
- package/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
- package/api/types/CollectionItemPostSingleFieldData.js +5 -0
- package/api/types/Component.d.ts +18 -0
- package/api/types/Component.js +5 -0
- package/api/types/ComponentDom.d.ts +13 -0
- package/api/types/ComponentDom.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/api/types/ComponentList.d.ts +11 -0
- package/api/types/ComponentList.js +5 -0
- package/api/types/ComponentNode.d.ts +15 -0
- package/api/types/ComponentNode.js +5 -0
- package/api/types/ComponentProperties.d.ts +13 -0
- package/api/types/ComponentProperties.js +5 -0
- package/api/types/ComponentProperty.d.ts +17 -0
- package/api/types/ComponentProperty.js +5 -0
- package/api/types/ComponentPropertyType.d.ts +12 -0
- package/api/types/ComponentPropertyType.js +11 -0
- package/api/types/Dom.d.ts +1 -1
- package/api/types/Domain.d.ts +2 -0
- package/api/types/Error_.d.ts +1 -1
- package/api/types/FieldType.d.ts +10 -10
- package/api/types/FieldType.js +9 -9
- package/api/types/ImageNode.d.ts +6 -2
- package/api/types/ImageNodeImage.d.ts +7 -0
- package/api/types/ImageNodeImage.js +5 -0
- package/api/types/Node.d.ts +11 -8
- package/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/api/types/ProductFieldData.d.ts +1 -1
- package/api/types/Redirect.d.ts +14 -0
- package/api/types/Redirect.js +5 -0
- package/api/types/Redirects.d.ts +12 -0
- package/api/types/Redirects.js +5 -0
- package/api/types/ScriptApply.d.ts +1 -1
- package/api/types/SitePlan.d.ts +12 -0
- package/api/types/SitePlan.js +5 -0
- package/api/types/SitePlanId.d.ts +21 -0
- package/api/types/SitePlanId.js +20 -0
- package/api/types/SitePlanName.d.ts +15 -0
- package/api/types/SitePlanName.js +14 -0
- package/api/types/Text.d.ts +9 -0
- package/api/types/Text.js +5 -0
- package/api/types/TextNode.d.ts +7 -3
- package/api/types/TextNodeText.d.ts +9 -0
- package/api/types/TextNodeText.js +5 -0
- package/{dist/api/resources/pages/types/DomWriteNodesItem.d.ts → api/types/TextNodeWrite.d.ts} +4 -1
- package/api/types/TextNodeWrite.js +5 -0
- package/api/types/TriggerType.d.ts +15 -15
- package/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/api/types/index.d.ts +27 -6
- package/api/types/index.js +27 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +25 -20
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +5 -0
- package/dist/api/resources/assets/client/Client.js +13 -8
- package/dist/api/resources/collections/client/Client.d.ts +3 -0
- package/dist/api/resources/collections/client/Client.js +7 -4
- package/dist/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +13 -20
- package/dist/api/resources/collections/resources/items/client/Client.js +31 -36
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
- package/dist/api/resources/collections/resources/items/types/MultipleItems.js +5 -0
- package/{api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +5 -0
- package/dist/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/SingleCmsItem.js +5 -0
- package/dist/api/resources/collections/resources/items/types/index.d.ts +3 -3
- package/dist/api/resources/collections/resources/items/types/index.js +3 -3
- package/dist/api/resources/components/client/Client.d.ts +176 -0
- package/dist/api/resources/components/client/Client.js +670 -0
- package/dist/api/resources/components/client/index.d.ts +1 -0
- package/dist/api/resources/components/client/index.js +17 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.js +5 -0
- package/dist/api/resources/components/client/requests/index.d.ts +5 -0
- package/dist/api/resources/components/client/requests/index.js +2 -0
- package/dist/api/resources/components/index.d.ts +2 -0
- package/dist/api/resources/components/index.js +18 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
- package/dist/api/resources/components/types/index.d.ts +4 -0
- package/dist/api/resources/components/types/index.js +20 -0
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.d.ts +3 -0
- package/dist/api/resources/forms/client/Client.js +8 -5
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/inventory/client/Client.d.ts +3 -1
- package/dist/api/resources/inventory/client/Client.js +5 -3
- package/dist/api/resources/orders/client/Client.d.ts +3 -0
- package/dist/api/resources/orders/client/Client.js +9 -6
- package/dist/api/resources/pages/client/Client.d.ts +26 -10
- package/dist/api/resources/pages/client/Client.js +32 -18
- package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/dist/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/dist/api/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
- package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -6
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/dist/api/resources/pages/types/index.d.ts +1 -1
- package/dist/api/resources/pages/types/index.js +1 -1
- package/dist/api/resources/products/client/Client.d.ts +5 -6
- package/dist/api/resources/products/client/Client.js +11 -12
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/sites/client/Client.d.ts +70 -0
- package/dist/api/resources/sites/client/Client.js +330 -9
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/index.js +3 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/dist/api/resources/sites/resources/plans/client/Client.js +155 -0
- package/dist/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/client/index.js +2 -0
- package/dist/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/index.js +17 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.js +472 -0
- package/dist/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/dist/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/index.js +17 -0
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/dist/api/resources/token/client/Client.d.ts +2 -1
- package/dist/api/resources/token/client/Client.js +4 -3
- package/dist/api/resources/users/client/Client.d.ts +1 -1
- package/dist/api/resources/users/client/Client.js +6 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +4 -1
- package/dist/api/resources/webhooks/client/Client.js +8 -5
- package/dist/api/types/CollectionItem.d.ts +6 -2
- package/dist/api/types/CollectionItemFieldData.d.ts +2 -2
- package/dist/api/types/CollectionItemPatchSingle.d.ts +24 -0
- package/dist/api/types/CollectionItemPatchSingle.js +5 -0
- package/dist/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
- package/dist/api/types/CollectionItemPatchSingleFieldData.js +5 -0
- package/dist/api/types/CollectionItemPostSingle.d.ts +28 -0
- package/dist/api/types/CollectionItemPostSingle.js +5 -0
- package/dist/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
- package/dist/api/types/CollectionItemPostSingleFieldData.js +5 -0
- package/dist/api/types/Component.d.ts +18 -0
- package/dist/api/types/Component.js +5 -0
- package/dist/api/types/ComponentDom.d.ts +13 -0
- package/dist/api/types/ComponentDom.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/dist/api/types/ComponentList.d.ts +11 -0
- package/dist/api/types/ComponentList.js +5 -0
- package/dist/api/types/ComponentNode.d.ts +15 -0
- package/dist/api/types/ComponentNode.js +5 -0
- package/dist/api/types/ComponentProperties.d.ts +13 -0
- package/dist/api/types/ComponentProperties.js +5 -0
- package/dist/api/types/ComponentProperty.d.ts +17 -0
- package/dist/api/types/ComponentProperty.js +5 -0
- package/dist/api/types/ComponentPropertyType.d.ts +12 -0
- package/dist/api/types/ComponentPropertyType.js +11 -0
- package/dist/api/types/Dom.d.ts +1 -1
- package/dist/api/types/Domain.d.ts +2 -0
- package/dist/api/types/Error_.d.ts +1 -1
- package/dist/api/types/FieldType.d.ts +10 -10
- package/dist/api/types/FieldType.js +9 -9
- package/dist/api/types/ImageNode.d.ts +6 -2
- package/dist/api/types/ImageNodeImage.d.ts +7 -0
- package/dist/api/types/ImageNodeImage.js +5 -0
- package/dist/api/types/Node.d.ts +11 -8
- package/dist/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/dist/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/dist/api/types/ProductFieldData.d.ts +1 -1
- package/dist/api/types/Redirect.d.ts +14 -0
- package/dist/api/types/Redirect.js +5 -0
- package/dist/api/types/Redirects.d.ts +12 -0
- package/dist/api/types/Redirects.js +5 -0
- package/dist/api/types/ScriptApply.d.ts +1 -1
- package/dist/api/types/SitePlan.d.ts +12 -0
- package/dist/api/types/SitePlan.js +5 -0
- package/dist/api/types/SitePlanId.d.ts +21 -0
- package/dist/api/types/SitePlanId.js +20 -0
- package/dist/api/types/SitePlanName.d.ts +15 -0
- package/dist/api/types/SitePlanName.js +14 -0
- package/dist/api/types/Text.d.ts +9 -0
- package/dist/api/types/Text.js +5 -0
- package/dist/api/types/TextNode.d.ts +7 -3
- package/dist/api/types/TextNodeText.d.ts +9 -0
- package/dist/api/types/TextNodeText.js +5 -0
- package/{api/resources/pages/types/DomWriteNodesItem.d.ts → dist/api/types/TextNodeWrite.d.ts} +4 -1
- package/dist/api/types/TextNodeWrite.js +5 -0
- package/dist/api/types/TriggerType.d.ts +15 -15
- package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/dist/api/types/index.d.ts +27 -6
- package/dist/api/types/index.js +27 -6
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
- package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
- package/{serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → dist/serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
- package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
- package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → dist/serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/items/types/index.js +3 -3
- package/dist/serialization/resources/components/client/index.d.ts +1 -0
- package/dist/serialization/resources/components/client/index.js +17 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/components/client/requests/index.js +7 -0
- package/dist/serialization/resources/components/index.d.ts +2 -0
- package/dist/serialization/resources/components/index.js +18 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/dist/serialization/resources/components/types/index.d.ts +4 -0
- package/dist/serialization/resources/components/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/pages/client/requests/index.js +3 -3
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/pages/types/index.d.ts +1 -1
- package/dist/serialization/resources/pages/types/index.js +1 -1
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/{serialization/resources/pages/client/requests/DomWrite.js → dist/serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/dist/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/sites/client/requests/index.js +5 -1
- package/dist/serialization/types/CollectionItem.d.ts +1 -1
- package/dist/serialization/types/CollectionItem.js +1 -1
- package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/dist/serialization/types/CollectionItemFieldData.js +2 -2
- package/dist/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
- package/dist/serialization/types/CollectionItemPatchSingle.js +41 -0
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
- package/dist/serialization/types/CollectionItemPostSingle.d.ts +20 -0
- package/dist/serialization/types/CollectionItemPostSingle.js +41 -0
- package/dist/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
- package/dist/serialization/types/Component.d.ts +16 -0
- package/dist/serialization/types/Component.js +37 -0
- package/dist/serialization/types/ComponentDom.d.ts +16 -0
- package/dist/serialization/types/ComponentDom.js +37 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
- package/dist/serialization/types/ComponentList.d.ts +15 -0
- package/dist/serialization/types/ComponentList.js +36 -0
- package/dist/serialization/types/ComponentNode.d.ts +15 -0
- package/dist/serialization/types/ComponentNode.js +36 -0
- package/dist/serialization/types/ComponentProperties.d.ts +16 -0
- package/dist/serialization/types/ComponentProperties.js +37 -0
- package/dist/serialization/types/ComponentProperty.d.ts +17 -0
- package/dist/serialization/types/ComponentProperty.js +38 -0
- package/dist/serialization/types/ComponentPropertyType.d.ts +10 -0
- package/dist/serialization/types/{ErrorDetailsItem.js → ComponentPropertyType.js} +2 -5
- package/dist/serialization/types/Domain.d.ts +1 -0
- package/dist/serialization/types/Domain.js +1 -0
- package/dist/serialization/types/Error_.d.ts +1 -2
- package/dist/serialization/types/Error_.js +1 -2
- package/dist/serialization/types/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +9 -9
- package/dist/serialization/types/ImageNode.d.ts +4 -2
- package/dist/serialization/types/ImageNode.js +4 -2
- package/dist/serialization/types/ImageNodeImage.d.ts +13 -0
- package/{serialization/types/ErrorDetailsItem.js → dist/serialization/types/ImageNodeImage.js} +5 -5
- package/dist/serialization/types/Node.d.ts +11 -8
- package/dist/serialization/types/Node.js +10 -7
- package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/dist/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- package/dist/serialization/types/Redirect.d.ts +14 -0
- package/dist/serialization/types/Redirect.js +35 -0
- package/dist/serialization/types/Redirects.d.ts +15 -0
- package/dist/serialization/types/Redirects.js +36 -0
- package/dist/serialization/types/SitePlan.d.ts +16 -0
- package/dist/serialization/types/SitePlan.js +37 -0
- package/dist/serialization/types/SitePlanId.d.ts +10 -0
- package/dist/serialization/types/SitePlanId.js +44 -0
- package/dist/serialization/types/SitePlanName.d.ts +10 -0
- package/dist/serialization/types/SitePlanName.js +38 -0
- package/dist/serialization/types/Text.d.ts +13 -0
- package/dist/serialization/types/Text.js +34 -0
- package/dist/serialization/types/TextNode.d.ts +4 -2
- package/dist/serialization/types/TextNode.js +4 -2
- package/dist/serialization/types/TextNodeText.d.ts +13 -0
- package/dist/serialization/types/TextNodeText.js +34 -0
- package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{serialization/resources/pages/types/DomWriteNodesItem.js → dist/serialization/types/TextNodeWrite.js} +3 -3
- package/dist/serialization/types/index.d.ts +27 -6
- package/dist/serialization/types/index.js +27 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1844 -788
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +3 -3
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
- package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
- package/{dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
- package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
- package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
- package/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
- package/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
- package/serialization/resources/collections/resources/items/types/index.js +3 -3
- package/serialization/resources/components/client/index.d.ts +1 -0
- package/serialization/resources/components/client/index.js +17 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/serialization/resources/components/client/requests/index.js +7 -0
- package/serialization/resources/components/index.d.ts +2 -0
- package/serialization/resources/components/index.js +18 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/serialization/resources/components/types/index.d.ts +4 -0
- package/serialization/resources/components/types/index.js +20 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/serialization/resources/pages/client/requests/index.js +3 -3
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/serialization/resources/pages/types/index.d.ts +1 -1
- package/serialization/resources/pages/types/index.js +1 -1
- package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/{dist/serialization/resources/pages/client/requests/DomWrite.js → serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/serialization/resources/sites/client/requests/index.js +5 -1
- package/serialization/types/CollectionItem.d.ts +1 -1
- package/serialization/types/CollectionItem.js +1 -1
- package/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/serialization/types/CollectionItemFieldData.js +2 -2
- package/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
- package/serialization/types/CollectionItemPatchSingle.js +41 -0
- package/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
- package/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
- package/serialization/types/CollectionItemPostSingle.d.ts +20 -0
- package/serialization/types/CollectionItemPostSingle.js +41 -0
- package/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
- package/serialization/types/CollectionItemPostSingleFieldData.js +36 -0
- package/serialization/types/Component.d.ts +16 -0
- package/serialization/types/Component.js +37 -0
- package/serialization/types/ComponentDom.d.ts +16 -0
- package/serialization/types/ComponentDom.js +37 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
- package/serialization/types/ComponentList.d.ts +15 -0
- package/serialization/types/ComponentList.js +36 -0
- package/serialization/types/ComponentNode.d.ts +15 -0
- package/serialization/types/ComponentNode.js +36 -0
- package/serialization/types/ComponentProperties.d.ts +16 -0
- package/serialization/types/ComponentProperties.js +37 -0
- package/serialization/types/ComponentProperty.d.ts +17 -0
- package/serialization/types/ComponentProperty.js +38 -0
- package/serialization/types/ComponentPropertyType.d.ts +10 -0
- package/serialization/types/ComponentPropertyType.js +31 -0
- package/serialization/types/Domain.d.ts +1 -0
- package/serialization/types/Domain.js +1 -0
- package/serialization/types/Error_.d.ts +1 -2
- package/serialization/types/Error_.js +1 -2
- package/serialization/types/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +9 -9
- package/serialization/types/ImageNode.d.ts +4 -2
- package/serialization/types/ImageNode.js +4 -2
- package/serialization/types/ImageNodeImage.d.ts +13 -0
- package/serialization/types/ImageNodeImage.js +34 -0
- package/serialization/types/Node.d.ts +11 -8
- package/serialization/types/Node.js +10 -7
- package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- package/serialization/types/Redirect.d.ts +14 -0
- package/serialization/types/Redirect.js +35 -0
- package/serialization/types/Redirects.d.ts +15 -0
- package/serialization/types/Redirects.js +36 -0
- package/serialization/types/SitePlan.d.ts +16 -0
- package/serialization/types/SitePlan.js +37 -0
- package/serialization/types/SitePlanId.d.ts +10 -0
- package/serialization/types/SitePlanId.js +44 -0
- package/serialization/types/SitePlanName.d.ts +10 -0
- package/serialization/types/SitePlanName.js +38 -0
- package/serialization/types/Text.d.ts +13 -0
- package/serialization/types/Text.js +34 -0
- package/serialization/types/TextNode.d.ts +4 -2
- package/serialization/types/TextNode.js +4 -2
- package/serialization/types/TextNodeText.d.ts +13 -0
- package/serialization/types/TextNodeText.js +34 -0
- package/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{dist/serialization/resources/pages/types/DomWriteNodesItem.js → serialization/types/TextNodeWrite.js} +3 -3
- package/serialization/types/index.d.ts +27 -6
- package/serialization/types/index.js +27 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/api/types/NodeType.d.ts +0 -8
- package/api/types/NodeType.js +0 -10
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/dist/api/types/NodeType.d.ts +0 -8
- package/dist/api/types/NodeType.js +0 -10
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
- package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/dist/serialization/types/ErrorDetailsItem.d.ts +0 -10
- package/dist/serialization/types/NodeType.d.ts +0 -10
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
- package/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/serialization/types/ErrorDetailsItem.d.ts +0 -10
- package/serialization/types/NodeType.d.ts +0 -10
- /package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.js → MultipleItems.js} +0 -0
- /package/api/resources/collections/resources/items/types/{ItemsCreateItemLiveRequestItems.js → MultipleLiveItems.js} +0 -0
- /package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → SingleCmsItem.js} +0 -0
- /package/api/resources/{pages/client/requests/DomWrite.js → components/client/requests/ComponentDomWrite.js} +0 -0
- /package/api/resources/{pages/types/DomWriteNodesItem.js → components/client/requests/ComponentPropertiesWrite.js} +0 -0
- /package/api/{types/ErrorDetailsItem.js → resources/components/client/requests/ComponentsGetContentRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js → api/resources/components/types/ComponentDomWriteNodesItem.js} +0 -0
- /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/types/ComponentPropertiesWritePropertiesItem.js} +0 -0
- /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/types/ComponentsUpdateContentResponse.js} +0 -0
- /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/types/ComponentsUpdatePropertiesResponse.js} +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
list:
|
|
8
|
+
path: /sites/{site_id}/redirects
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: >
|
|
12
|
+
Fetch a list of all URL redirect rules configured for a specific site.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Use this endpoint to review, audit, or manage the redirection rules that
|
|
16
|
+
control how traffic is rerouted on your site.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
Required scope: `sites:read`
|
|
21
|
+
source:
|
|
22
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
23
|
+
path-parameters:
|
|
24
|
+
site_id:
|
|
25
|
+
type: string
|
|
26
|
+
docs: Unique identifier for a Site
|
|
27
|
+
display-name: Get URL redirects
|
|
28
|
+
response:
|
|
29
|
+
docs: Request was successful
|
|
30
|
+
type: root.Redirects
|
|
31
|
+
errors:
|
|
32
|
+
- root.BadRequestError
|
|
33
|
+
- root.UnauthorizedError
|
|
34
|
+
- root.NotFoundError
|
|
35
|
+
- root.TooManyRequestsError
|
|
36
|
+
- root.InternalServerError
|
|
37
|
+
examples:
|
|
38
|
+
- path-parameters:
|
|
39
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
40
|
+
response:
|
|
41
|
+
body:
|
|
42
|
+
redirects:
|
|
43
|
+
- id: 42e1a2b7aa1a13f768a0042a
|
|
44
|
+
fromUrl: /mostly-harmless
|
|
45
|
+
toUrl: /earth
|
|
46
|
+
- id: 6x9e7f8d9a4b1c2d3e4f5678
|
|
47
|
+
fromUrl: /babel-fish
|
|
48
|
+
toUrl: /translate
|
|
49
|
+
pagination:
|
|
50
|
+
limit: 100
|
|
51
|
+
offset: 0
|
|
52
|
+
total: 2
|
|
53
|
+
create:
|
|
54
|
+
path: /sites/{site_id}/redirects
|
|
55
|
+
method: POST
|
|
56
|
+
auth: true
|
|
57
|
+
docs: >
|
|
58
|
+
Add a new URL redirection rule to a site.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
This endpoint allows you to define a source path (`fromUrl`) and its
|
|
62
|
+
corresponding destination path (`toUrl`), which will dictate how traffic
|
|
63
|
+
is rerouted on your site. This is useful for managing site changes,
|
|
64
|
+
restructuring URLs, or handling outdated links.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Required scope: `sites:write`
|
|
68
|
+
source:
|
|
69
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
70
|
+
path-parameters:
|
|
71
|
+
site_id:
|
|
72
|
+
type: string
|
|
73
|
+
docs: Unique identifier for a Site
|
|
74
|
+
display-name: Create a URL redirect
|
|
75
|
+
request:
|
|
76
|
+
body: root.Redirect
|
|
77
|
+
content-type: application/json
|
|
78
|
+
response:
|
|
79
|
+
docs: Request was successful
|
|
80
|
+
type: root.Redirect
|
|
81
|
+
errors:
|
|
82
|
+
- root.BadRequestError
|
|
83
|
+
- root.UnauthorizedError
|
|
84
|
+
- root.NotFoundError
|
|
85
|
+
- root.TooManyRequestsError
|
|
86
|
+
- root.InternalServerError
|
|
87
|
+
examples:
|
|
88
|
+
- path-parameters:
|
|
89
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
90
|
+
request:
|
|
91
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
92
|
+
fromUrl: /mostly-harmless
|
|
93
|
+
toUrl: /earth
|
|
94
|
+
response:
|
|
95
|
+
body:
|
|
96
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
97
|
+
fromUrl: /mostly-harmless
|
|
98
|
+
toUrl: /earth
|
|
99
|
+
delete:
|
|
100
|
+
path: /sites/{site_id}/redirects/{redirect_id}
|
|
101
|
+
method: DELETE
|
|
102
|
+
auth: true
|
|
103
|
+
docs: >
|
|
104
|
+
Remove a URL redirection rule from a site.
|
|
105
|
+
|
|
106
|
+
This is useful for cleaning up outdated or unnecessary redirects,
|
|
107
|
+
ensuring that your site's routing behavior remains efficient and
|
|
108
|
+
up-to-date.
|
|
109
|
+
|
|
110
|
+
Required scope: `sites:write`
|
|
111
|
+
source:
|
|
112
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
113
|
+
path-parameters:
|
|
114
|
+
site_id:
|
|
115
|
+
type: string
|
|
116
|
+
docs: Unique identifier for a Site
|
|
117
|
+
redirect_id:
|
|
118
|
+
type: string
|
|
119
|
+
docs: Unique identifier site rediect
|
|
120
|
+
display-name: Delete URL redirects
|
|
121
|
+
response:
|
|
122
|
+
docs: Request was successful
|
|
123
|
+
type: root.Redirects
|
|
124
|
+
errors:
|
|
125
|
+
- root.BadRequestError
|
|
126
|
+
- root.UnauthorizedError
|
|
127
|
+
- root.NotFoundError
|
|
128
|
+
- root.TooManyRequestsError
|
|
129
|
+
- root.InternalServerError
|
|
130
|
+
examples:
|
|
131
|
+
- path-parameters:
|
|
132
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
133
|
+
redirect_id: 66c4cb9a20cac35ed19500e6
|
|
134
|
+
response:
|
|
135
|
+
body:
|
|
136
|
+
redirects:
|
|
137
|
+
- id: 42e1a2b7aa1a13f768a0042a
|
|
138
|
+
fromUrl: /mostly-harmless
|
|
139
|
+
toUrl: /earth
|
|
140
|
+
- id: 6x9e7f8d9a4b1c2d3e4f5678
|
|
141
|
+
fromUrl: /babel-fish
|
|
142
|
+
toUrl: /translate
|
|
143
|
+
pagination:
|
|
144
|
+
limit: 100
|
|
145
|
+
offset: 0
|
|
146
|
+
total: 2
|
|
147
|
+
update:
|
|
148
|
+
path: /sites/{site_id}/redirects/{redirect_id}
|
|
149
|
+
method: PATCH
|
|
150
|
+
auth: true
|
|
151
|
+
docs: |
|
|
152
|
+
Update a URL redirection rule from a site.
|
|
153
|
+
Required scope: `sites:write`
|
|
154
|
+
source:
|
|
155
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
156
|
+
path-parameters:
|
|
157
|
+
site_id:
|
|
158
|
+
type: string
|
|
159
|
+
docs: Unique identifier for a Site
|
|
160
|
+
redirect_id:
|
|
161
|
+
type: string
|
|
162
|
+
docs: Unique identifier site rediect
|
|
163
|
+
display-name: Update URL redirect
|
|
164
|
+
request:
|
|
165
|
+
body: root.Redirect
|
|
166
|
+
content-type: application/json
|
|
167
|
+
response:
|
|
168
|
+
docs: Request was successful
|
|
169
|
+
type: root.Redirect
|
|
170
|
+
errors:
|
|
171
|
+
- root.BadRequestError
|
|
172
|
+
- root.UnauthorizedError
|
|
173
|
+
- root.NotFoundError
|
|
174
|
+
- root.TooManyRequestsError
|
|
175
|
+
- root.InternalServerError
|
|
176
|
+
examples:
|
|
177
|
+
- path-parameters:
|
|
178
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
179
|
+
redirect_id: 66c4cb9a20cac35ed19500e6
|
|
180
|
+
request:
|
|
181
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
182
|
+
fromUrl: /mostly-harmless
|
|
183
|
+
toUrl: /earth
|
|
184
|
+
response:
|
|
185
|
+
body:
|
|
186
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
187
|
+
fromUrl: /mostly-harmless
|
|
188
|
+
toUrl: /earth
|
|
189
|
+
source:
|
|
190
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -11,15 +11,14 @@ service:
|
|
|
11
11
|
docs: >
|
|
12
12
|
Get all registered scripts that have been applied to a specific Site.
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
endpoint requires a bearer token from a
|
|
16
|
-
|
|
17
|
-
Client App</a>.</blockquote>
|
|
14
|
+
|
|
15
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
16
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
Required scope | `custom_code:read`
|
|
21
20
|
source:
|
|
22
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
21
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
23
22
|
path-parameters:
|
|
24
23
|
site_id:
|
|
25
24
|
type: string
|
|
@@ -68,15 +67,14 @@ service:
|
|
|
68
67
|
|
|
69
68
|
`custom_code` endpoints.
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
endpoint requires a bearer token from a
|
|
73
|
-
|
|
74
|
-
Client App</a>.</blockquote>
|
|
70
|
+
|
|
71
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
72
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
75
73
|
|
|
76
74
|
|
|
77
75
|
Required scope | `custom_code:write`
|
|
78
76
|
source:
|
|
79
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
77
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
80
78
|
path-parameters:
|
|
81
79
|
site_id:
|
|
82
80
|
type: string
|
|
@@ -130,15 +128,13 @@ service:
|
|
|
130
128
|
Delete the custom code block that an app created for a Site
|
|
131
129
|
|
|
132
130
|
|
|
133
|
-
<
|
|
134
|
-
|
|
135
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
136
|
-
Client App</a>.</blockquote>
|
|
131
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
132
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
137
133
|
|
|
138
134
|
|
|
139
135
|
Required scope | `custom_code:write`
|
|
140
136
|
source:
|
|
141
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
137
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
142
138
|
path-parameters:
|
|
143
139
|
site_id:
|
|
144
140
|
type: string
|
|
@@ -160,15 +156,14 @@ service:
|
|
|
160
156
|
docs: >
|
|
161
157
|
Get all instances of Custom Code applied to a Site or Pages.
|
|
162
158
|
|
|
163
|
-
|
|
164
|
-
endpoint requires a bearer token from a
|
|
165
|
-
|
|
166
|
-
Client App</a>.</blockquote>
|
|
159
|
+
|
|
160
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
161
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
167
162
|
|
|
168
163
|
|
|
169
164
|
Required scope | `custom_code:read`
|
|
170
165
|
source:
|
|
171
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
166
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
172
167
|
path-parameters:
|
|
173
168
|
site_id:
|
|
174
169
|
type: string
|
|
@@ -225,4 +220,4 @@ service:
|
|
|
225
220
|
offset: 0
|
|
226
221
|
total: 1
|
|
227
222
|
source:
|
|
228
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
223
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -4,6 +4,88 @@ service:
|
|
|
4
4
|
auth: false
|
|
5
5
|
base-path: ''
|
|
6
6
|
endpoints:
|
|
7
|
+
create:
|
|
8
|
+
path: /workspaces/{workspace_id}/sites
|
|
9
|
+
method: POST
|
|
10
|
+
auth: true
|
|
11
|
+
docs: |
|
|
12
|
+
Create a site. This endpoint requires an Enterprise workspace.
|
|
13
|
+
|
|
14
|
+
Required scope | `workspace:write`
|
|
15
|
+
source:
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
|
+
path-parameters:
|
|
18
|
+
workspace_id:
|
|
19
|
+
type: string
|
|
20
|
+
docs: Unique identifier for a Workspace
|
|
21
|
+
display-name: Create Site
|
|
22
|
+
request:
|
|
23
|
+
name: SitesCreateRequest
|
|
24
|
+
body:
|
|
25
|
+
properties:
|
|
26
|
+
name:
|
|
27
|
+
type: string
|
|
28
|
+
docs: The name of the site
|
|
29
|
+
templateName:
|
|
30
|
+
type: optional<string>
|
|
31
|
+
docs: The workspace or marketplace template to use
|
|
32
|
+
parentFolderId:
|
|
33
|
+
type: optional<string>
|
|
34
|
+
docs: MegaDodo Publications - Potential Book Ideas
|
|
35
|
+
content-type: application/json
|
|
36
|
+
response:
|
|
37
|
+
docs: Request was successful
|
|
38
|
+
type: root.Site
|
|
39
|
+
errors:
|
|
40
|
+
- root.BadRequestError
|
|
41
|
+
- root.UnauthorizedError
|
|
42
|
+
- root.ForbiddenError
|
|
43
|
+
- root.NotFoundError
|
|
44
|
+
- root.TooManyRequestsError
|
|
45
|
+
- root.InternalServerError
|
|
46
|
+
examples:
|
|
47
|
+
- name: NewlyCreatedSite
|
|
48
|
+
path-parameters:
|
|
49
|
+
workspace_id: 580e63e98c9a982ac9b8b741
|
|
50
|
+
request:
|
|
51
|
+
name: The Hitchhiker's Guide to the Galaxy
|
|
52
|
+
response:
|
|
53
|
+
body:
|
|
54
|
+
id: 670ecf86817e3cc7a510eb6a
|
|
55
|
+
workspaceId: 625860a7a6c16d624927122f
|
|
56
|
+
createdOn: '2024-10-15T20:24:38Z'
|
|
57
|
+
displayName: The Hitchiker‘s Guide
|
|
58
|
+
shortName: hitchikers-guide
|
|
59
|
+
lastPublished: '2016-10-24T19:43:17Z'
|
|
60
|
+
lastUpdated: '2024-10-15T20:24:38Z'
|
|
61
|
+
previewUrl: >-
|
|
62
|
+
https://d1otoma47x30pg.cloudfront.net/580e63e98c9a982ac9b8b741/201610241243.png
|
|
63
|
+
timeZone: America/Los_Angeles
|
|
64
|
+
parentFolderId: 670ece123598db72d9648be1
|
|
65
|
+
customDomains:
|
|
66
|
+
- id: 589a331aa51e760df7ccb89d
|
|
67
|
+
url: test-api-domain.com
|
|
68
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
69
|
+
locales:
|
|
70
|
+
primary:
|
|
71
|
+
id: 653fd9af6a07fc9cfd7a5e57
|
|
72
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
73
|
+
enabled: false
|
|
74
|
+
displayName: English (United States)
|
|
75
|
+
displayImageId: displayImageId
|
|
76
|
+
redirect: true
|
|
77
|
+
subdirectory: ''
|
|
78
|
+
tag: en-US
|
|
79
|
+
secondary:
|
|
80
|
+
- id: 653fd9af6a07fc9cfd7a5e57
|
|
81
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
82
|
+
enabled: false
|
|
83
|
+
displayName: English (United States)
|
|
84
|
+
redirect: true
|
|
85
|
+
subdirectory: ''
|
|
86
|
+
tag: en-US
|
|
87
|
+
dataCollectionEnabled: false
|
|
88
|
+
dataCollectionType: always
|
|
7
89
|
list:
|
|
8
90
|
path: /sites
|
|
9
91
|
method: GET
|
|
@@ -13,7 +95,7 @@ service:
|
|
|
13
95
|
|
|
14
96
|
Required scope | `sites:read`
|
|
15
97
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
98
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
99
|
display-name: List Sites
|
|
18
100
|
response:
|
|
19
101
|
docs: Request was successful
|
|
@@ -40,6 +122,7 @@ service:
|
|
|
40
122
|
customDomains:
|
|
41
123
|
- id: 589a331aa51e760df7ccb89e
|
|
42
124
|
url: heartofgold.galaxy
|
|
125
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
43
126
|
locales:
|
|
44
127
|
primary:
|
|
45
128
|
id: 653fd9af6a07fc9cfd7a5e57
|
|
@@ -80,6 +163,7 @@ service:
|
|
|
80
163
|
customDomains:
|
|
81
164
|
- id: 589a331aa51e760df7ccb89f
|
|
82
165
|
url: marvin.blog
|
|
166
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
83
167
|
locales:
|
|
84
168
|
primary:
|
|
85
169
|
id: 653fd9af6a07fc9cfd7a5e57
|
|
@@ -113,6 +197,7 @@ service:
|
|
|
113
197
|
customDomains:
|
|
114
198
|
- id: 589a331aa51e760df7ccb8a0
|
|
115
199
|
url: vogonpoetry.galaxy
|
|
200
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
116
201
|
locales:
|
|
117
202
|
primary:
|
|
118
203
|
id: 653fd9af6a07fc9cfd7a5e55
|
|
@@ -141,7 +226,7 @@ service:
|
|
|
141
226
|
|
|
142
227
|
Required scope | `sites:read`
|
|
143
228
|
source:
|
|
144
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
229
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
145
230
|
path-parameters:
|
|
146
231
|
site_id:
|
|
147
232
|
type: string
|
|
@@ -175,8 +260,115 @@ service:
|
|
|
175
260
|
customDomains:
|
|
176
261
|
- id: 589a331aa51e760df7ccb89d
|
|
177
262
|
url: hitchhikersguide.galaxy
|
|
263
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
264
|
+
- id: 589a331aa51e760df7ccb89e
|
|
265
|
+
url: heartofgold.spaceship
|
|
266
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
267
|
+
locales:
|
|
268
|
+
primary:
|
|
269
|
+
id: 653fd9af6a07fc9cfd7a5e57
|
|
270
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
271
|
+
enabled: false
|
|
272
|
+
displayName: English (United States)
|
|
273
|
+
displayImageId: displayImageId
|
|
274
|
+
redirect: true
|
|
275
|
+
subdirectory: ''
|
|
276
|
+
tag: en-US
|
|
277
|
+
secondary:
|
|
278
|
+
- id: 653fd9af6a07fc9cfd7a5e57
|
|
279
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
280
|
+
enabled: false
|
|
281
|
+
displayName: English (United States)
|
|
282
|
+
redirect: true
|
|
283
|
+
subdirectory: ''
|
|
284
|
+
tag: en-US
|
|
285
|
+
dataCollectionEnabled: true
|
|
286
|
+
dataCollectionType: always
|
|
287
|
+
delete:
|
|
288
|
+
path: /sites/{site_id}
|
|
289
|
+
method: DELETE
|
|
290
|
+
auth: true
|
|
291
|
+
docs: |
|
|
292
|
+
Delete a site. This endpoint requires an Enterprise workspace.
|
|
293
|
+
|
|
294
|
+
Required scope | `sites:write`
|
|
295
|
+
source:
|
|
296
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
297
|
+
path-parameters:
|
|
298
|
+
site_id:
|
|
299
|
+
type: string
|
|
300
|
+
docs: Unique identifier for a Site
|
|
301
|
+
display-name: Delete Site
|
|
302
|
+
errors:
|
|
303
|
+
- root.BadRequestError
|
|
304
|
+
- root.UnauthorizedError
|
|
305
|
+
- root.ForbiddenError
|
|
306
|
+
- root.NotFoundError
|
|
307
|
+
- root.TooManyRequestsError
|
|
308
|
+
- root.InternalServerError
|
|
309
|
+
examples:
|
|
310
|
+
- path-parameters:
|
|
311
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
312
|
+
update:
|
|
313
|
+
path: /sites/{site_id}
|
|
314
|
+
method: PATCH
|
|
315
|
+
auth: true
|
|
316
|
+
docs: |
|
|
317
|
+
Update a site. This endpoint requires an Enterprise workspace.
|
|
318
|
+
|
|
319
|
+
Required scope | `sites:write`
|
|
320
|
+
source:
|
|
321
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
322
|
+
path-parameters:
|
|
323
|
+
site_id:
|
|
324
|
+
type: string
|
|
325
|
+
docs: Unique identifier for a Site
|
|
326
|
+
display-name: Update Site
|
|
327
|
+
request:
|
|
328
|
+
name: SitesUpdateRequest
|
|
329
|
+
body:
|
|
330
|
+
properties:
|
|
331
|
+
name:
|
|
332
|
+
type: optional<string>
|
|
333
|
+
docs: The name of the site
|
|
334
|
+
parentFolderId:
|
|
335
|
+
type: optional<string>
|
|
336
|
+
docs: The parent folder ID of the site
|
|
337
|
+
content-type: application/json
|
|
338
|
+
response:
|
|
339
|
+
docs: Request was successful
|
|
340
|
+
type: root.Site
|
|
341
|
+
errors:
|
|
342
|
+
- root.BadRequestError
|
|
343
|
+
- root.UnauthorizedError
|
|
344
|
+
- root.ForbiddenError
|
|
345
|
+
- root.NotFoundError
|
|
346
|
+
- root.TooManyRequestsError
|
|
347
|
+
- root.InternalServerError
|
|
348
|
+
examples:
|
|
349
|
+
- path-parameters:
|
|
350
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
351
|
+
request: {}
|
|
352
|
+
response:
|
|
353
|
+
body:
|
|
354
|
+
id: 42e98c9a982ac9b8b742
|
|
355
|
+
workspaceId: 42e63e98c9a982ac9b8b742
|
|
356
|
+
createdOn: '1979-10-12T12:00:00Z'
|
|
357
|
+
displayName: The Hitchhiker's Guide to the Galaxy
|
|
358
|
+
shortName: hitchhikers-guide
|
|
359
|
+
lastPublished: '2023-04-02T12:42:00Z'
|
|
360
|
+
lastUpdated: '2023-04-02T12:42:00Z'
|
|
361
|
+
previewUrl: >-
|
|
362
|
+
https://screenshots.webflow.com/sites/6258612d1ee792848f805dcf/20231219211811_d5990556c743f33b7071300a03bf67e6.png
|
|
363
|
+
timeZone: Magrathea/FactoryFloor
|
|
364
|
+
parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
|
|
365
|
+
customDomains:
|
|
366
|
+
- id: 589a331aa51e760df7ccb89d
|
|
367
|
+
url: hitchhikersguide.galaxy
|
|
368
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
178
369
|
- id: 589a331aa51e760df7ccb89e
|
|
179
370
|
url: heartofgold.spaceship
|
|
371
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
180
372
|
locales:
|
|
181
373
|
primary:
|
|
182
374
|
id: 653fd9af6a07fc9cfd7a5e57
|
|
@@ -206,7 +398,7 @@ service:
|
|
|
206
398
|
|
|
207
399
|
Required scope | `sites:read`
|
|
208
400
|
source:
|
|
209
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
401
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
210
402
|
path-parameters:
|
|
211
403
|
site_id:
|
|
212
404
|
type: string
|
|
@@ -229,8 +421,10 @@ service:
|
|
|
229
421
|
customDomains:
|
|
230
422
|
- id: 589a331aa51e760df7ccb89d
|
|
231
423
|
url: hitchhikersguide.galaxy
|
|
424
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
232
425
|
- id: 589a331aa51e760df7ccb89e
|
|
233
426
|
url: heartofgold.spaceship
|
|
427
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
234
428
|
publish:
|
|
235
429
|
path: /sites/{site_id}/publish
|
|
236
430
|
method: POST
|
|
@@ -245,7 +439,7 @@ service:
|
|
|
245
439
|
|
|
246
440
|
Required scope | `sites:write`
|
|
247
441
|
source:
|
|
248
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
442
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
249
443
|
path-parameters:
|
|
250
444
|
site_id:
|
|
251
445
|
type: string
|
|
@@ -281,10 +475,12 @@ service:
|
|
|
281
475
|
customDomains:
|
|
282
476
|
- id: 589a331aa51e760df7ccb89d
|
|
283
477
|
url: test-api-domain.com
|
|
478
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
284
479
|
publishToWebflowSubdomain: true
|
|
285
480
|
source:
|
|
286
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
481
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
287
482
|
display-name: Sites
|
|
483
|
+
docs: Sites are the sites in your Webflow workspace.
|
|
288
484
|
types:
|
|
289
485
|
SitesPublishResponse:
|
|
290
486
|
properties:
|
|
@@ -296,4 +492,4 @@ types:
|
|
|
296
492
|
docs: Flag for publishing to webflow.io subdomain
|
|
297
493
|
default: false
|
|
298
494
|
source:
|
|
299
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
495
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required Scope | `authorized_user:read`
|
|
15
15
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
17
|
display-name: Get Authorization User Info
|
|
18
18
|
response:
|
|
19
19
|
docs: Request was successful
|
|
@@ -35,10 +35,11 @@ service:
|
|
|
35
35
|
docs: >
|
|
36
36
|
Information about the authorization token
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
39
40
|
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
40
41
|
source:
|
|
41
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
42
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
42
43
|
display-name: Get Authorization Info
|
|
43
44
|
response:
|
|
44
45
|
docs: Request was successful
|
|
@@ -68,4 +69,4 @@ service:
|
|
|
68
69
|
homepage: https://webflow.com
|
|
69
70
|
displayName: My Amazing App
|
|
70
71
|
source:
|
|
71
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
72
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -32,7 +32,7 @@ types:
|
|
|
32
32
|
name: UpdatedOnDescending
|
|
33
33
|
docs: Sorts users in descending order based on their update date
|
|
34
34
|
source:
|
|
35
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
35
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
36
36
|
UsersUpdateRequestData:
|
|
37
37
|
properties:
|
|
38
38
|
name:
|
|
@@ -48,7 +48,7 @@ types:
|
|
|
48
48
|
docs: |
|
|
49
49
|
Boolean indicating if the user has accepted to receive communications
|
|
50
50
|
source:
|
|
51
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
51
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
52
52
|
inline: true
|
|
53
53
|
imports:
|
|
54
54
|
root: __package__.yml
|
|
@@ -65,7 +65,7 @@ service:
|
|
|
65
65
|
|
|
66
66
|
Required scope | `users:read`
|
|
67
67
|
source:
|
|
68
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
68
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
69
69
|
path-parameters:
|
|
70
70
|
site_id:
|
|
71
71
|
type: string
|
|
@@ -169,7 +169,7 @@ service:
|
|
|
169
169
|
|
|
170
170
|
Required scope | `users:read`
|
|
171
171
|
source:
|
|
172
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
172
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
173
173
|
path-parameters:
|
|
174
174
|
site_id:
|
|
175
175
|
type: string
|
|
@@ -220,7 +220,7 @@ service:
|
|
|
220
220
|
|
|
221
221
|
Required scope | `users:write`
|
|
222
222
|
source:
|
|
223
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
223
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
224
224
|
path-parameters:
|
|
225
225
|
site_id:
|
|
226
226
|
type: string
|
|
@@ -252,7 +252,7 @@ service:
|
|
|
252
252
|
<Note class="notice">The <code>email</code> and <code>password</code>
|
|
253
253
|
fields cannot be updated using this endpoint</Note>
|
|
254
254
|
source:
|
|
255
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
255
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
256
256
|
path-parameters:
|
|
257
257
|
site_id:
|
|
258
258
|
type: string
|
|
@@ -329,7 +329,7 @@ service:
|
|
|
329
329
|
|
|
330
330
|
Required scope | `users:write`
|
|
331
331
|
source:
|
|
332
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
332
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
333
333
|
path-parameters:
|
|
334
334
|
site_id:
|
|
335
335
|
type: string
|
|
@@ -389,4 +389,4 @@ service:
|
|
|
389
389
|
accept-communications: true
|
|
390
390
|
additionalProperties: additionalProperties
|
|
391
391
|
source:
|
|
392
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
392
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|