diff --git a/.mock/definition/assets.yml b/.mock/definition/assets.yml
index 73c7559c..8c142ae3 100644
--- a/.mock/definition/assets.yml
+++ b/.mock/definition/assets.yml
@@ -242,6 +242,7 @@ service:
width: 500
height: 900
quality: 100
+ error: error
altText: A single candy wrapper
delete:
path: /assets/{asset_id}
@@ -335,6 +336,7 @@ service:
width: 500
height: 900
quality: 100
+ error: error
altText: A single candy wrapper
list-folders:
path: /sites/{site_id}/asset_folders
@@ -371,6 +373,7 @@ service:
assetFolders:
- id: 6390c49774a71f0e3c1a08ee
displayName: emoji icons
+ parentFolder: 6390c49774a71f99f21a08eb
assets:
- 63e5889e7fe4eafa7384cea4
- 659595234426a9fcbad57043
diff --git a/.mock/definition/collections.yml b/.mock/definition/collections.yml
index 5ddf39bb..b9ee7cd1 100644
--- a/.mock/definition/collections.yml
+++ b/.mock/definition/collections.yml
@@ -303,18 +303,21 @@ service:
type: File
slug: guide-file
displayName: Guide File
+ helpText: helpText
- id: 7f8e9d0c1b2a3f4e5d6c8b9e
isRequired: false
isEditable: true
type: Email
slug: contributor-email
displayName: Contributor Email
+ helpText: helpText
- id: 3a4f5e6d7c8b9a0e1d2c4b5f
isRequired: false
isEditable: true
type: Phone
slug: emergency-contact
displayName: Emergency Contact
+ helpText: helpText
delete:
path: /collections/{collection_id}
method: DELETE
diff --git a/.mock/definition/collections/items.yml b/.mock/definition/collections/items.yml
index 09d267c4..53672488 100644
--- a/.mock/definition/collections/items.yml
+++ b/.mock/definition/collections/items.yml
@@ -673,10 +673,9 @@ service:
docs: |
List all published items in a collection.
-
- To serve content to your other frontends applications, enterprise sites have access to a dedicated [content delivery API](/data/docs/cms-content-delivery), available at api-cdn.webflow.com.
-
-
+
+ Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
+
Required scope | `CMS:read`
source:
@@ -1797,10 +1796,9 @@ service:
docs: |
Get details of a selected Collection live Item.
-
- To serve content to your other frontends applications, enterprise sites have access to a dedicated [content delivery API](/data/docs/cms-content-delivery), available at api-cdn.webflow.com.
-
-
+
+ Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
+
Required scope | `CMS:read`
source:
diff --git a/.mock/definition/comments.yml b/.mock/definition/comments.yml
index 91de1be8..573e375e 100644
--- a/.mock/definition/comments.yml
+++ b/.mock/definition/comments.yml
@@ -17,6 +17,7 @@ webhooks:
siteId: 679826b3b20b045e176bc4b5
pageId: 679826b3b20b045e176bc4bc
localeId: 67993753d910db250db64b3e
+ itemId: 580e64008c9a982ac9b8b754
breakpoint: main
url: >-
https://webflow.com/design/site-slug-4ec832?workflow=comment&commentId=679d2ddb5196117ad04d1ffa&pageId=679826b3b20b045e176bc4bc
diff --git a/.mock/definition/components.yml b/.mock/definition/components.yml
index 6a8a0077..9bca51f3 100644
--- a/.mock/definition/components.yml
+++ b/.mock/definition/components.yml
@@ -69,9 +69,13 @@ service:
readonly: true
- id: 6258612d1ee792848f805dcf
name: Card
+ group: Buttons
+ description: A button component that can be used across the site
readonly: true
- id: 68a2b1d1ee792848f805dcf
name: Nav
+ group: Buttons
+ description: A button component that can be used across the site
readonly: true
pagination:
limit: 20
diff --git a/.mock/definition/forms.yml b/.mock/definition/forms.yml
index 44592f7d..4dedf935 100644
--- a/.mock/definition/forms.yml
+++ b/.mock/definition/forms.yml
@@ -59,13 +59,16 @@ service:
fields:
'0':
displayName: Email
+ placeholder: Enter your email
userVisible: true
'1':
displayName: Email
+ placeholder: Enter your email
userVisible: true
responseSettings:
redirectUrl: https://example.com
redirectMethod: GET
+ redirectAction: POST https://example.com
sendEmailConfirmation: true
id: 589a331aa51e760df7ccb89e
siteId: 580e63e98c9a982ac9b8b741
@@ -80,10 +83,12 @@ service:
fields:
'0':
displayName: Email
+ placeholder: Enter your email
userVisible: true
responseSettings:
redirectUrl: https://example.com
redirectMethod: GET
+ redirectAction: POST https://example.com
sendEmailConfirmation: false
id: 580ff8d7ba3e45ba9fe588e9
siteId: 580e63e98c9a982ac9b8b741
@@ -136,6 +141,7 @@ service:
660d5bcc9c0772150459dfb1:
displayName: Name
type: Plain
+ placeholder: Enter your email
userVisible: true
589a331aa51e760df7ccb89d:
displayName: Email
@@ -145,6 +151,7 @@ service:
responseSettings:
redirectUrl: https://example.com
redirectMethod: GET
+ redirectAction: POST https://example.com
sendEmailConfirmation: true
id: 589a331aa51e760df7ccb89e
siteId: 580e63e98c9a982ac9b8b741
@@ -430,6 +437,212 @@ service:
limit: 25
offset: 0
total: 2
+ list-submissions-by-form-and-site:
+ path: /sites/{site_id}/forms/{form_id}/submissions
+ method: GET
+ auth:
+ - OAuth2:
+ - forms:read
+ docs: |
+ List form submissions for a given form within a specific site.
+
+ Required scope | `forms:read`
+ source:
+ openapi: ../../../openapi/referenced-specs/v2.yml
+ path-parameters:
+ site_id:
+ type: string
+ docs: Unique identifier for a Site
+ form_id:
+ type: string
+ docs: Unique identifier for a Form
+ display-name: List Form Submissions by Form and Site
+ request:
+ name: FormsListSubmissionsByFormAndSiteRequest
+ query-parameters:
+ offset:
+ type: optional
+ docs: >-
+ Offset used for pagination if the results have more than limit
+ records
+ limit:
+ type: optional
+ docs: 'Maximum number of records to be returned (max limit: 100)'
+ response:
+ docs: Request was successful
+ type: root.FormSubmissionList
+ status-code: 200
+ errors:
+ - root.BadRequestError
+ - root.UnauthorizedError
+ - root.ForbiddenError
+ - root.NotFoundError
+ - root.TooManyRequestsError
+ - root.InternalServerError
+ examples:
+ - path-parameters:
+ site_id: 580e63e98c9a982ac9b8b741
+ form_id: 580e63e98c9a982ac9b8b741
+ query-parameters:
+ offset: 1.1
+ limit: 1.1
+ response:
+ body:
+ formSubmissions:
+ - id: 6321ca84df3949bfc6752327
+ displayName: Sample Form
+ siteId: 62749158efef318abc8d5a0f
+ workspaceId: 62749158efef318abc8d5a0f
+ dateSubmitted: '2022-09-14T12:35:16Z'
+ formResponse:
+ First Name: Arthur
+ Last Name: Dent
+ - id: 660d64fabf6e0a0d4edab981
+ displayName: Sample Form
+ siteId: 62749158efef318abc8d5a0f
+ workspaceId: 62749158efef318abc8d5a0f
+ dateSubmitted: '2022-09-14T12:35:16Z'
+ formResponse:
+ First Name: Ford
+ Last Name: Prefect
+ pagination:
+ limit: 25
+ offset: 0
+ total: 2
+ get-submission-by-site:
+ path: /sites/{site_id}/form_submissions/{form_submission_id}
+ method: GET
+ auth:
+ - OAuth2:
+ - forms:read
+ docs: |
+ Get information about a form submission within a specific site.
+
+ Required scope | `forms:read`
+ source:
+ openapi: ../../../openapi/referenced-specs/v2.yml
+ path-parameters:
+ site_id:
+ type: string
+ docs: Unique identifier for a Site
+ form_submission_id:
+ type: string
+ docs: Unique identifier for a Form Submission
+ display-name: Get Form Submission by Site
+ response:
+ docs: Request was successful
+ type: root.FormSubmission
+ status-code: 200
+ errors:
+ - root.BadRequestError
+ - root.UnauthorizedError
+ - root.ForbiddenError
+ - root.NotFoundError
+ - root.TooManyRequestsError
+ - root.InternalServerError
+ examples:
+ - path-parameters:
+ site_id: 580e63e98c9a982ac9b8b741
+ form_submission_id: 580e63e98c9a982ac9b8b741
+ response:
+ body:
+ id: 6321ca84df3949bfc6752327
+ displayName: Sample Form
+ siteId: 62749158efef318abc8d5a0f
+ workspaceId: 62749158efef318abc8d5a0f
+ dateSubmitted: '2022-09-14T12:35:16Z'
+ formResponse:
+ First Name: Arthur
+ Last Name: Dent
+ delete-submission-by-site:
+ path: /sites/{site_id}/form_submissions/{form_submission_id}
+ method: DELETE
+ auth:
+ - OAuth2:
+ - forms:write
+ docs: |
+ Delete a form submission within a specific site.
+
+ Required scope | `forms:write`
+ source:
+ openapi: ../../../openapi/referenced-specs/v2.yml
+ path-parameters:
+ site_id:
+ type: string
+ docs: Unique identifier for a Site
+ form_submission_id:
+ type: string
+ docs: Unique identifier for a Form Submission
+ display-name: Delete Form Submission by Site
+ errors:
+ - root.BadRequestError
+ - root.UnauthorizedError
+ - root.ForbiddenError
+ - root.NotFoundError
+ - root.ConflictError
+ - root.TooManyRequestsError
+ - root.InternalServerError
+ examples:
+ - path-parameters:
+ site_id: 580e63e98c9a982ac9b8b741
+ form_submission_id: 580e63e98c9a982ac9b8b741
+ update-submission-by-site:
+ path: /sites/{site_id}/form_submissions/{form_submission_id}
+ method: PATCH
+ auth:
+ - OAuth2:
+ - forms:write
+ docs: |
+ Update hidden fields on a form submission within a specific site.
+
+ Required scope | `forms:write`
+ source:
+ openapi: ../../../openapi/referenced-specs/v2.yml
+ path-parameters:
+ site_id:
+ type: string
+ docs: Unique identifier for a Site
+ form_submission_id:
+ type: string
+ docs: Unique identifier for a Form Submission
+ display-name: Modify Form Submission by Site
+ request:
+ name: FormsUpdateSubmissionBySiteRequest
+ body:
+ properties:
+ formSubmissionData:
+ type: optional