Skip to content

Commit 5fb1087

Browse files
authored
Merge pull request #289 from webflow/fern-bot/2025-11-03T20-27Z
🌿 Fern Regeneration -- November 3, 2025
2 parents 87aba52 + 525637a commit 5fb1087

File tree

208 files changed

+3141
-2736
lines changed

Some content is hidden

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

208 files changed

+3141
-2736
lines changed

.mock/definition/__package__.yml

Lines changed: 112 additions & 260 deletions
Large diffs are not rendered by default.

.mock/definition/accessGroups.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ service:
1818
list:
1919
path: /sites/{site_id}/accessgroups
2020
method: GET
21-
auth: true
21+
auth:
22+
- OAuth2:
23+
- users:read
2224
docs: |
2325
Get a list of access groups for a site
2426
@@ -60,6 +62,10 @@ service:
6062
examples:
6163
- path-parameters:
6264
site_id: 580e63e98c9a982ac9b8b741
65+
query-parameters:
66+
offset: 1.1
67+
limit: 1.1
68+
sort: CreatedOn
6369
response:
6470
body:
6571
count: 1

.mock/definition/api.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ environments:
88
Base: https://api.webflow.com/v2
99
Data API: https://api.webflow.com/v2
1010
Content Delivery API: https://api-cdn.webflow.com/v2
11-
Production: https://api.webflow.com/v2
12-
CDN: https://api-cdn.webflow.com/v2
1311
default-environment: Data API
1412
default-url: Base
1513
auth-schemes:

.mock/definition/assets.yml

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ service:
77
list:
88
path: /sites/{site_id}/assets
99
method: GET
10-
auth: true
10+
auth:
11+
- OAuth2:
12+
- assets:read
1113
docs: |
1214
List of assets uploaded to a site
1315
@@ -19,6 +21,17 @@ service:
1921
type: string
2022
docs: Unique identifier for a Site
2123
display-name: List Assets
24+
request:
25+
name: AssetsListRequest
26+
query-parameters:
27+
offset:
28+
type: optional<double>
29+
docs: >-
30+
Offset used for pagination if the results have more than limit
31+
records
32+
limit:
33+
type: optional<double>
34+
docs: 'Maximum number of records to be returned (max limit: 100)'
2235
response:
2336
docs: Request was successful
2437
type: root.Assets
@@ -32,6 +45,9 @@ service:
3245
examples:
3346
- path-parameters:
3447
site_id: 580e63e98c9a982ac9b8b741
48+
query-parameters:
49+
offset: 1.1
50+
limit: 1.1
3551
response:
3652
body:
3753
assets:
@@ -86,7 +102,9 @@ service:
86102
create:
87103
path: /sites/{site_id}/assets
88104
method: POST
89-
auth: true
105+
auth:
106+
- OAuth2:
107+
- assets:write
90108
docs: >
91109
The first step in uploading an asset to a site.
92110
@@ -175,7 +193,9 @@ service:
175193
get:
176194
path: /assets/{asset_id}
177195
method: GET
178-
auth: true
196+
auth:
197+
- OAuth2:
198+
- assets:read
179199
docs: |
180200
Get details about an asset
181201
@@ -226,7 +246,9 @@ service:
226246
delete:
227247
path: /assets/{asset_id}
228248
method: DELETE
229-
auth: true
249+
auth:
250+
- OAuth2:
251+
- assets:write
230252
docs: |
231253
Delete an Asset
232254
@@ -250,7 +272,9 @@ service:
250272
update:
251273
path: /assets/{asset_id}
252274
method: PATCH
253-
auth: true
275+
auth:
276+
- OAuth2:
277+
- assets:write
254278
docs: |
255279
Update details of an Asset.
256280
@@ -315,7 +339,9 @@ service:
315339
list-folders:
316340
path: /sites/{site_id}/asset_folders
317341
method: GET
318-
auth: true
342+
auth:
343+
- OAuth2:
344+
- assets:read
319345
docs: |
320346
List Asset Folders within a given site
321347
@@ -358,7 +384,9 @@ service:
358384
create-folder:
359385
path: /sites/{site_id}/asset_folders
360386
method: POST
361-
auth: true
387+
auth:
388+
- OAuth2:
389+
- assets:write
362390
docs: |
363391
Create an Asset Folder within a given site
364392
@@ -412,7 +440,9 @@ service:
412440
get-folder:
413441
path: /asset_folders/{asset_folder_id}
414442
method: GET
415-
auth: true
443+
auth:
444+
- OAuth2:
445+
- assets:read
416446
docs: |
417447
Get details about a specific Asset Folder
418448

.mock/definition/collections.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ service:
77
list:
88
path: /sites/{site_id}/collections
99
method: GET
10-
auth: true
10+
auth:
11+
- OAuth2:
12+
- cms:read
1113
docs: |
1214
List of all Collections within a Site.
1315
@@ -56,7 +58,9 @@ service:
5658
create:
5759
path: /sites/{site_id}/collections
5860
method: POST
59-
auth: true
61+
auth:
62+
- OAuth2:
63+
- cms:write
6064
docs: >
6165
Create a Collection for a site with collection fields.
6266
@@ -159,7 +163,9 @@ service:
159163
get:
160164
path: /collections/{collection_id}
161165
method: GET
162-
auth: true
166+
auth:
167+
- OAuth2:
168+
- cms:read
163169
docs: |
164170
Get the full details of a collection from its ID.
165171
@@ -312,7 +318,9 @@ service:
312318
delete:
313319
path: /collections/{collection_id}
314320
method: DELETE
315-
auth: true
321+
auth:
322+
- OAuth2:
323+
- cms:write
316324
docs: |
317325
Delete a collection using its ID.
318326

.mock/definition/collections/fields.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ service:
77
create:
88
path: /collections/{collection_id}/fields
99
method: POST
10-
auth: true
10+
auth:
11+
- OAuth2:
12+
- cms:write
1113
docs: >
1214
Create a custom field in a collection.
1315
@@ -114,7 +116,9 @@ service:
114116
delete:
115117
path: /collections/{collection_id}/fields/{field_id}
116118
method: DELETE
117-
auth: true
119+
auth:
120+
- OAuth2:
121+
- cms:write
118122
docs: >
119123
Delete a custom field in a collection. This endpoint does not currently
120124
support bulk deletion.
@@ -144,7 +148,9 @@ service:
144148
update:
145149
path: /collections/{collection_id}/fields/{field_id}
146150
method: PATCH
147-
auth: true
151+
auth:
152+
- OAuth2:
153+
- cms:write
148154
docs: |
149155
Update a custom field in a collection.
150156

0 commit comments

Comments
 (0)