Skip to content

Commit d08b2b5

Browse files
committed
SDK regeneration
1 parent 750b4c9 commit d08b2b5

File tree

257 files changed

+6756
-911
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+6756
-911
lines changed

.mock/definition/__package__.yml

Lines changed: 657 additions & 20 deletions
Large diffs are not rendered by default.

.mock/definition/api.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@ error-discrimination:
33
strategy: status-code
44
display-name: Data API
55
environments:
6-
Default: https://api.webflow.com/v2
7-
default-environment: Default
6+
Data API:
7+
urls:
8+
Base: https://api.webflow.com/v2
9+
Data API: https://api.webflow.com/v2
10+
Content Delivery API: https://api-cdn.webflow.com/v2
11+
Production: https://api.webflow.com/v2
12+
CDN: https://api-cdn.webflow.com/v2
13+
default-environment: Data API
14+
default-url: Base
815
auth-schemes:
916
BearerToken:
1017
scheme: bearer

.mock/definition/collections/items.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ service:
340340
name: ItemsDeleteItemsRequest
341341
body:
342342
properties:
343-
items: optional<list<ItemsDeleteItemsRequestItemsItem>>
343+
items: list<ItemsDeleteItemsRequestItemsItem>
344344
content-type: application/json
345345
errors:
346346
- root.BadRequestError
@@ -352,7 +352,9 @@ service:
352352
examples:
353353
- path-parameters:
354354
collection_id: 580e63fc8c9a982ac9b8b745
355-
request: {}
355+
request:
356+
items:
357+
- id: 580e64008c9a982ac9b8b754
356358
update-items:
357359
path: /collections/{collection_id}/items
358360
method: PATCH
@@ -568,6 +570,11 @@ service:
568570
docs: |
569571
List all published items in a collection.
570572
573+
<Note title="Serve data with the Content Delivery API">
574+
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.
575+
576+
</Note>
577+
571578
Required scope | `CMS:read`
572579
source:
573580
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -610,6 +617,7 @@ service:
610617
docs: Request was successful
611618
type: root.CollectionItemList
612619
status-code: 200
620+
url: Data API
613621
errors:
614622
- root.BadRequestError
615623
- root.UnauthorizedError
@@ -786,7 +794,7 @@ service:
786794
name: ItemsDeleteItemsLiveRequest
787795
body:
788796
properties:
789-
items: optional<list<ItemsDeleteItemsLiveRequestItemsItem>>
797+
items: list<ItemsDeleteItemsLiveRequestItemsItem>
790798
content-type: application/json
791799
errors:
792800
- root.BadRequestError
@@ -797,7 +805,9 @@ service:
797805
examples:
798806
- path-parameters:
799807
collection_id: 580e63fc8c9a982ac9b8b745
800-
request: {}
808+
request:
809+
items:
810+
- id: 580e64008c9a982ac9b8b754
801811
update-items-live:
802812
path: /collections/{collection_id}/items/live
803813
method: PATCH
@@ -1323,6 +1333,7 @@ service:
13231333
docs: Request was successful
13241334
type: root.CollectionItem
13251335
status-code: 200
1336+
url: Production
13261337
errors:
13271338
- root.BadRequestError
13281339
- root.UnauthorizedError
@@ -1452,6 +1463,11 @@ service:
14521463
docs: |
14531464
Get details of a selected Collection live Item.
14541465
1466+
<Note title="Serve data with the Content Delivery API">
1467+
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.
1468+
1469+
</Note>
1470+
14551471
Required scope | `CMS:read`
14561472
source:
14571473
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -1477,6 +1493,7 @@ service:
14771493
docs: Request was successful
14781494
type: root.CollectionItem
14791495
status-code: 200
1496+
url: Data API
14801497
errors:
14811498
- root.BadRequestError
14821499
- root.UnauthorizedError

.mock/definition/components.yml

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ service:
7474
auth: true
7575
docs: >
7676
Get static content from a component definition. This includes text
77-
nodes, image nodes and nested component instances.
77+
nodes, image nodes, select nodes, text input nodes, submit button nodes,
78+
and nested component instances.
7879
7980
To retrieve dynamic content set by component properties, use the [get
8081
component
@@ -125,8 +126,7 @@ service:
125126
- root.TooManyRequestsError
126127
- root.InternalServerError
127128
examples:
128-
- name: ComponentDOM
129-
path-parameters:
129+
- path-parameters:
130130
site_id: 580e63e98c9a982ac9b8b741
131131
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
132132
query-parameters:
@@ -151,43 +151,32 @@ service:
151151
key: value
152152
type: image
153153
- id: id
154-
componentId: componentId
155-
propertyOverrides:
156-
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
157-
type: component-instance
158-
pagination:
159-
limit: 4
160-
offset: 0
161-
total: 4
162-
- name: LocalizedComponentDOM
163-
path-parameters:
164-
site_id: 580e63e98c9a982ac9b8b741
165-
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
166-
query-parameters:
167-
localeId: 65427cf400e02b306eaa04a0
168-
response:
169-
body:
170-
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
171-
nodes:
154+
placeholder: placeholder
155+
attributes:
156+
key: value
157+
type: text-input
172158
- id: id
173-
image: {}
159+
choices:
160+
- value: value
161+
text: text
174162
attributes:
175163
key: value
176-
type: image
164+
type: select
177165
- id: id
178-
text: {}
166+
value: value
167+
waitingText: waitingText
179168
attributes:
180169
key: value
181-
type: text
170+
type: submit-button
182171
- id: id
183172
componentId: componentId
184173
propertyOverrides:
185174
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
186175
type: component-instance
187176
pagination:
188-
limit: 100
177+
limit: 7
189178
offset: 0
190-
total: 3
179+
total: 7
191180
update-content:
192181
path: /sites/{site_id}/components/{component_id}/dom
193182
method: POST
@@ -268,6 +257,17 @@ service:
268257
text: >-
269258
<div><h3>Don't Panic!</h3><p>Always know where your towel
270259
is.</p></div>
260+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad635
261+
choices:
262+
- value: choice-1
263+
text: First choice
264+
- value: choice-2
265+
text: Second choice
266+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad642
267+
placeholder: Enter something here...
268+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad671
269+
value: Submit
270+
waitingText: Submitting...
271271
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad629
272272
propertyOverrides:
273273
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
@@ -437,6 +437,10 @@ types:
437437
union:
438438
- root.TextNodeWrite
439439
- root.ComponentInstanceNodePropertyOverridesWrite
440+
- root.SelectNodeWrite
441+
- root.TextInputNodeWrite
442+
- root.SubmitButtonNodeWrite
443+
- root.SearchButtonNodeWrite
440444
source:
441445
openapi: ../../../openapi/referenced-specs/v2.yml
442446
inline: true

.mock/definition/pages.yml

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ service:
276276
auth: true
277277
docs: >
278278
Get content from a static page. This includes text nodes, image nodes,
279-
and component instances with [property
279+
select nodes, text input nodes, submit button nodes, and component
280+
instances with [property
280281
overrides](https://help.webflow.com/hc/en-us/articles/33961219350547-Component-properties#how-to-modify-property-values-on-component-instances).
281282
282283
@@ -327,8 +328,7 @@ service:
327328
- root.TooManyRequestsError
328329
- root.InternalServerError
329330
examples:
330-
- name: PageDOM
331-
path-parameters:
331+
- path-parameters:
332332
page_id: 63c720f9347c2139b248e552
333333
query-parameters:
334334
localeId: 65427cf400e02b306eaa04a0
@@ -351,6 +351,23 @@ service:
351351
attributes:
352352
key: value
353353
type: image
354+
- id: id
355+
choices:
356+
- value: value
357+
text: text
358+
attributes:
359+
key: value
360+
type: select
361+
- id: id
362+
placeholder: placeholder
363+
attributes:
364+
key: value
365+
type: text-input
366+
- id: id
367+
text: {}
368+
attributes:
369+
key: value
370+
type: text
354371
- id: id
355372
componentId: componentId
356373
propertyOverrides:
@@ -433,6 +450,17 @@ service:
433450
text: >-
434451
<div><h3>Don't Panic!</h3><p>Always know where your towel
435452
is.</p></div>
453+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad635
454+
choices:
455+
- value: choice-1
456+
text: First choice
457+
- value: choice-2
458+
text: Second choice
459+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad642
460+
placeholder: Enter something here...
461+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad671
462+
value: Submit
463+
waitingText: Submitting...
436464
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad629
437465
propertyOverrides:
438466
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
@@ -453,6 +481,10 @@ types:
453481
union:
454482
- root.TextNodeWrite
455483
- root.ComponentInstanceNodePropertyOverridesWrite
484+
- root.SelectNodeWrite
485+
- root.TextInputNodeWrite
486+
- root.SubmitButtonNodeWrite
487+
- root.SearchButtonNodeWrite
456488
source:
457489
openapi: ../../../openapi/referenced-specs/v2.yml
458490
inline: true

0 commit comments

Comments
 (0)