Data API: Localization and Site Activity Logs
In this update, we've added support for the following Webflow features:
What's New
GET
/sites/{site_id}/activity_logs
GET
/sites/{site_id}/activity_logsGet Site Activity Logs
GET
/pages/{page_id}/dom
GET
/pages/{page_id}/domGet Page Content
POST
/pages/{page_id}/dom
POST
/pages/{page_id}/domUpdate Page Content
PUT
/pages/{page_id}
PUT
/pages/{page_id}Update Page Metadata
PATCH
/assets/{asset_id}
PATCH
/assets/{asset_id}Update Asset
What's Changed
GET
/sites
GET
/sitesResponse:
Added Property: locale
(object)
Location: Response body
Description: Contains the locale settings for the site, including primary and secondary locales.
Type: String
Details:
primary
: Object containing the primary locale settings.
Includes properties such asid
,cmsLocaleId
,enabled
,displayName
,redirect
,subdirectory
,tag
.secondary
: Array of objects, each representing a secondary locale setting.
Each object includes properties similar to the primary locale.
GET
/sites/{site_id}
GET
/sites/{site_id}Response:
Added Property: locale
(object)
Location: Response body
Description: Contains the locale settings for the site, including primary and secondary locales.
Type: String
Details:
primary
: Object containing the primary locale settings.
Includes properties such asid
,cmsLocaleId
,enabled
,displayName
,redirect
,subdirectory
,tag
.secondary
: Array of objects, each representing a secondary locale setting.
Each object includes properties similar to the primary locale.
GET
/pages/{page_id}
GET
/pages/{page_id}Parameters:
Added: locale
in query
Description: Unique identifier for a specific locale. Applicable, when using localization.
Required: No
Type: String
GET
/sites/{site_id}/pages
GET
/sites/{site_id}/pagesParameters:
Added: locale
in query
Description: Unique identifier for a specific locale. Applicable, when using localization.
Required: No
Type: String
GET
/collections/{collection_id}/items
GET
/collections/{collection_id}/itemsParameters:
Added: cmsLocaleIds
in query
Description: Unique identifiers for CMS Locales. These UIDs are different from the Site locale identifier and are listed as cmsLocaleId in the Sites response. Applicable when using localization.
Required: No
Type: String
GET
/collections/{collection_id}/items/{item_id}
GET
/collections/{collection_id}/items/{item_id}Parameters:
Added: cmsLocaleIds
in query
Description: Unique identifiers for CMS Locales. These UIDs are different from the Site locale identifier and are listed as cmsLocaleId in the Sites response. Applicable when using localization.
Required: No
Type: Array
PATCH
/collections/{collection_id}/items/{item_id}
PATCH
/collections/{collection_id}/items/{item_id}Parameters:
Added: cmsLocaleIds
in query
Description: Unique identifiers for CMS Locales. These UIDs are different from the Site locale identifier and are listed as cmsLocaleId in the Sites response. Applicable when using localization.
Required: No
Type: Array