Skip to content

Commit 4c88a49

Browse files
SDK regeneration
1 parent 5fb1087 commit 4c88a49

40 files changed

+1899
-132
lines changed

.mock/definition/assets.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ service:
242242
width: 500
243243
height: 900
244244
quality: 100
245+
error: error
245246
altText: A single candy wrapper
246247
delete:
247248
path: /assets/{asset_id}
@@ -335,6 +336,7 @@ service:
335336
width: 500
336337
height: 900
337338
quality: 100
339+
error: error
338340
altText: A single candy wrapper
339341
list-folders:
340342
path: /sites/{site_id}/asset_folders
@@ -371,6 +373,7 @@ service:
371373
assetFolders:
372374
- id: 6390c49774a71f0e3c1a08ee
373375
displayName: emoji icons
376+
parentFolder: 6390c49774a71f99f21a08eb
374377
assets:
375378
- 63e5889e7fe4eafa7384cea4
376379
- 659595234426a9fcbad57043

.mock/definition/collections.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,18 +303,21 @@ service:
303303
type: File
304304
slug: guide-file
305305
displayName: Guide File
306+
helpText: helpText
306307
- id: 7f8e9d0c1b2a3f4e5d6c8b9e
307308
isRequired: false
308309
isEditable: true
309310
type: Email
310311
slug: contributor-email
311312
displayName: Contributor Email
313+
helpText: helpText
312314
- id: 3a4f5e6d7c8b9a0e1d2c4b5f
313315
isRequired: false
314316
isEditable: true
315317
type: Phone
316318
slug: emergency-contact
317319
displayName: Emergency Contact
320+
helpText: helpText
318321
delete:
319322
path: /collections/{collection_id}
320323
method: DELETE

.mock/definition/collections/items.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -673,10 +673,9 @@ service:
673673
docs: |
674674
List all published items in a collection.
675675
676-
<Note title="Serve data with the Content Delivery API">
677-
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.
678-
679-
</Note>
676+
<Tip title="Serve data with the Content Delivery API">
677+
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.
678+
</Tip>
680679
681680
Required scope | `CMS:read`
682681
source:
@@ -1797,10 +1796,9 @@ service:
17971796
docs: |
17981797
Get details of a selected Collection live Item.
17991798
1800-
<Note title="Serve data with the Content Delivery API">
1801-
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.
1802-
1803-
</Note>
1799+
<Tip title="Serve data with the Content Delivery API">
1800+
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.
1801+
</Tip>
18041802
18051803
Required scope | `CMS:read`
18061804
source:

.mock/definition/comments.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ webhooks:
1717
siteId: 679826b3b20b045e176bc4b5
1818
pageId: 679826b3b20b045e176bc4bc
1919
localeId: 67993753d910db250db64b3e
20+
itemId: 580e64008c9a982ac9b8b754
2021
breakpoint: main
2122
url: >-
2223
https://webflow.com/design/site-slug-4ec832?workflow=comment&commentId=679d2ddb5196117ad04d1ffa&pageId=679826b3b20b045e176bc4bc

.mock/definition/components.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@ service:
6969
readonly: true
7070
- id: 6258612d1ee792848f805dcf
7171
name: Card
72+
group: Buttons
73+
description: A button component that can be used across the site
7274
readonly: true
7375
- id: 68a2b1d1ee792848f805dcf
7476
name: Nav
77+
group: Buttons
78+
description: A button component that can be used across the site
7579
readonly: true
7680
pagination:
7781
limit: 20

.mock/definition/forms.yml

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,16 @@ service:
5959
fields:
6060
'0':
6161
displayName: Email
62+
placeholder: Enter your email
6263
userVisible: true
6364
'1':
6465
displayName: Email
66+
placeholder: Enter your email
6567
userVisible: true
6668
responseSettings:
6769
redirectUrl: https://example.com
6870
redirectMethod: GET
71+
redirectAction: POST https://example.com
6972
sendEmailConfirmation: true
7073
id: 589a331aa51e760df7ccb89e
7174
siteId: 580e63e98c9a982ac9b8b741
@@ -80,10 +83,12 @@ service:
8083
fields:
8184
'0':
8285
displayName: Email
86+
placeholder: Enter your email
8387
userVisible: true
8488
responseSettings:
8589
redirectUrl: https://example.com
8690
redirectMethod: GET
91+
redirectAction: POST https://example.com
8792
sendEmailConfirmation: false
8893
id: 580ff8d7ba3e45ba9fe588e9
8994
siteId: 580e63e98c9a982ac9b8b741
@@ -136,6 +141,7 @@ service:
136141
660d5bcc9c0772150459dfb1:
137142
displayName: Name
138143
type: Plain
144+
placeholder: Enter your email
139145
userVisible: true
140146
589a331aa51e760df7ccb89d:
141147
displayName: Email
@@ -145,6 +151,7 @@ service:
145151
responseSettings:
146152
redirectUrl: https://example.com
147153
redirectMethod: GET
154+
redirectAction: POST https://example.com
148155
sendEmailConfirmation: true
149156
id: 589a331aa51e760df7ccb89e
150157
siteId: 580e63e98c9a982ac9b8b741
@@ -430,6 +437,212 @@ service:
430437
limit: 25
431438
offset: 0
432439
total: 2
440+
list-submissions-by-form-and-site:
441+
path: /sites/{site_id}/forms/{form_id}/submissions
442+
method: GET
443+
auth:
444+
- OAuth2:
445+
- forms:read
446+
docs: |
447+
List form submissions for a given form within a specific site.
448+
449+
Required scope | `forms:read`
450+
source:
451+
openapi: ../../../openapi/referenced-specs/v2.yml
452+
path-parameters:
453+
site_id:
454+
type: string
455+
docs: Unique identifier for a Site
456+
form_id:
457+
type: string
458+
docs: Unique identifier for a Form
459+
display-name: List Form Submissions by Form and Site
460+
request:
461+
name: FormsListSubmissionsByFormAndSiteRequest
462+
query-parameters:
463+
offset:
464+
type: optional<double>
465+
docs: >-
466+
Offset used for pagination if the results have more than limit
467+
records
468+
limit:
469+
type: optional<double>
470+
docs: 'Maximum number of records to be returned (max limit: 100)'
471+
response:
472+
docs: Request was successful
473+
type: root.FormSubmissionList
474+
status-code: 200
475+
errors:
476+
- root.BadRequestError
477+
- root.UnauthorizedError
478+
- root.ForbiddenError
479+
- root.NotFoundError
480+
- root.TooManyRequestsError
481+
- root.InternalServerError
482+
examples:
483+
- path-parameters:
484+
site_id: 580e63e98c9a982ac9b8b741
485+
form_id: 580e63e98c9a982ac9b8b741
486+
query-parameters:
487+
offset: 1.1
488+
limit: 1.1
489+
response:
490+
body:
491+
formSubmissions:
492+
- id: 6321ca84df3949bfc6752327
493+
displayName: Sample Form
494+
siteId: 62749158efef318abc8d5a0f
495+
workspaceId: 62749158efef318abc8d5a0f
496+
dateSubmitted: '2022-09-14T12:35:16Z'
497+
formResponse:
498+
First Name: Arthur
499+
Last Name: Dent
500+
- id: 660d64fabf6e0a0d4edab981
501+
displayName: Sample Form
502+
siteId: 62749158efef318abc8d5a0f
503+
workspaceId: 62749158efef318abc8d5a0f
504+
dateSubmitted: '2022-09-14T12:35:16Z'
505+
formResponse:
506+
First Name: Ford
507+
Last Name: Prefect
508+
pagination:
509+
limit: 25
510+
offset: 0
511+
total: 2
512+
get-submission-by-site:
513+
path: /sites/{site_id}/form_submissions/{form_submission_id}
514+
method: GET
515+
auth:
516+
- OAuth2:
517+
- forms:read
518+
docs: |
519+
Get information about a form submission within a specific site.
520+
521+
Required scope | `forms:read`
522+
source:
523+
openapi: ../../../openapi/referenced-specs/v2.yml
524+
path-parameters:
525+
site_id:
526+
type: string
527+
docs: Unique identifier for a Site
528+
form_submission_id:
529+
type: string
530+
docs: Unique identifier for a Form Submission
531+
display-name: Get Form Submission by Site
532+
response:
533+
docs: Request was successful
534+
type: root.FormSubmission
535+
status-code: 200
536+
errors:
537+
- root.BadRequestError
538+
- root.UnauthorizedError
539+
- root.ForbiddenError
540+
- root.NotFoundError
541+
- root.TooManyRequestsError
542+
- root.InternalServerError
543+
examples:
544+
- path-parameters:
545+
site_id: 580e63e98c9a982ac9b8b741
546+
form_submission_id: 580e63e98c9a982ac9b8b741
547+
response:
548+
body:
549+
id: 6321ca84df3949bfc6752327
550+
displayName: Sample Form
551+
siteId: 62749158efef318abc8d5a0f
552+
workspaceId: 62749158efef318abc8d5a0f
553+
dateSubmitted: '2022-09-14T12:35:16Z'
554+
formResponse:
555+
First Name: Arthur
556+
Last Name: Dent
557+
delete-submission-by-site:
558+
path: /sites/{site_id}/form_submissions/{form_submission_id}
559+
method: DELETE
560+
auth:
561+
- OAuth2:
562+
- forms:write
563+
docs: |
564+
Delete a form submission within a specific site.
565+
566+
Required scope | `forms:write`
567+
source:
568+
openapi: ../../../openapi/referenced-specs/v2.yml
569+
path-parameters:
570+
site_id:
571+
type: string
572+
docs: Unique identifier for a Site
573+
form_submission_id:
574+
type: string
575+
docs: Unique identifier for a Form Submission
576+
display-name: Delete Form Submission by Site
577+
errors:
578+
- root.BadRequestError
579+
- root.UnauthorizedError
580+
- root.ForbiddenError
581+
- root.NotFoundError
582+
- root.ConflictError
583+
- root.TooManyRequestsError
584+
- root.InternalServerError
585+
examples:
586+
- path-parameters:
587+
site_id: 580e63e98c9a982ac9b8b741
588+
form_submission_id: 580e63e98c9a982ac9b8b741
589+
update-submission-by-site:
590+
path: /sites/{site_id}/form_submissions/{form_submission_id}
591+
method: PATCH
592+
auth:
593+
- OAuth2:
594+
- forms:write
595+
docs: |
596+
Update hidden fields on a form submission within a specific site.
597+
598+
Required scope | `forms:write`
599+
source:
600+
openapi: ../../../openapi/referenced-specs/v2.yml
601+
path-parameters:
602+
site_id:
603+
type: string
604+
docs: Unique identifier for a Site
605+
form_submission_id:
606+
type: string
607+
docs: Unique identifier for a Form Submission
608+
display-name: Modify Form Submission by Site
609+
request:
610+
name: FormsUpdateSubmissionBySiteRequest
611+
body:
612+
properties:
613+
formSubmissionData:
614+
type: optional<map<string, unknown>>
615+
docs: >-
616+
An existing **hidden field** defined on the form schema, and the
617+
corresponding value to set
618+
content-type: application/json
619+
response:
620+
docs: Request was successful
621+
type: root.FormSubmission
622+
status-code: 200
623+
errors:
624+
- root.BadRequestError
625+
- root.UnauthorizedError
626+
- root.ForbiddenError
627+
- root.NotFoundError
628+
- root.ConflictError
629+
- root.TooManyRequestsError
630+
- root.InternalServerError
631+
examples:
632+
- path-parameters:
633+
site_id: 580e63e98c9a982ac9b8b741
634+
form_submission_id: 580e63e98c9a982ac9b8b741
635+
request: {}
636+
response:
637+
body:
638+
id: 6321ca84df3949bfc6752327
639+
displayName: Sample Form
640+
siteId: 62749158efef318abc8d5a0f
641+
workspaceId: 62749158efef318abc8d5a0f
642+
dateSubmitted: '2022-09-14T12:35:16Z'
643+
formResponse:
644+
First Name: Arthur
645+
Last Name: Dent
433646
source:
434647
openapi: ../../../openapi/referenced-specs/v2.yml
435648
display-name: Forms

.mock/definition/items.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ webhooks:
8383
siteId: 65427cf400e02b306eaa049c
8484
workspaceId: 625860a7a6c16d624927122f
8585
collectionId: 664243617fcc8b464b23c4ee
86+
cmsLocaleId: 681442a144bb80bd00480fda
8687
docs: Information about a collection item that was published
8788
collection_item_unpublished:
8889
audiences: []

0 commit comments

Comments
 (0)