Developer experience improvements

This release enhances the developer experience for the Data API with improved audit logging, webhook payloads, branch support, and file handling capabilities.

Added

Workspace audit logs

  • Track guest access approvals: The new access_request_accepted event subtype lets you monitor when guest access requests are approved. The response includes a targetUsers array so you can see exactly which users were approved.
  • Monitor access requests: Added the access_request method for workspace_membership and site_membership events to track how users were granted access to workspaces and sites.

Webhook payloads for page events

  • Navigate directly to pages: The new publishedPath field in webhook payloads gives you the exact URL path to navigate to pages on your site. This makes it much easier to track page changes beyond just the page ID and title. Available for:

Branch support for pages and components localization

  • Work with page branches: Page and Component localization endpoints now support reading and writing to page branches using the branchId parameter. This lets you manage draft pages and components separately from published content. To get the branchId for a page, use the List Pages endpoint.

Improved file handling

  • Skip invalid files gracefully: When creating or updating CMS items with attachments, use the skipInvalidFiles parameter to handle problematic files more efficiently. When set to true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid.

JavaScript SDK updates