Skip to content

Commit 2f92f29

Browse files
chore: release 2.5.0 (#181)
1 parent 0d715fd commit 2f92f29

File tree

165 files changed

+16430
-2155
lines changed

Some content is hidden

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

165 files changed

+16430
-2155
lines changed

.mock/definition/__package__.yml

Lines changed: 2495 additions & 0 deletions
Large diffs are not rendered by default.

.mock/definition/accessGroups.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
types:
2+
AccessGroupsListRequestSort:
3+
enum:
4+
- value: CreatedOn
5+
name: CreatedOnAscending
6+
docs: Sorts users in ascending order based on their created date
7+
- value: '-CreatedOn'
8+
name: CreatedOnDescending
9+
docs: Sorts users in descending order based on their created date
10+
source:
11+
openapi: ../../../referenced-specs/v2.yml
12+
imports:
13+
root: __package__.yml
14+
service:
15+
auth: false
16+
base-path: ''
17+
endpoints:
18+
list:
19+
path: /sites/{site_id}/accessgroups
20+
method: GET
21+
auth: true
22+
docs: |
23+
Get a list of access groups for a site
24+
25+
Required scope | `users:read`
26+
source:
27+
openapi: ../../../referenced-specs/v2.yml
28+
path-parameters:
29+
site_id:
30+
type: string
31+
docs: Unique identifier for a Site
32+
display-name: List Access Groups
33+
request:
34+
name: AccessGroupsListRequest
35+
query-parameters:
36+
offset:
37+
type: optional<double>
38+
docs: >-
39+
Offset used for pagination if the results have more than limit
40+
records
41+
limit:
42+
type: optional<double>
43+
docs: 'Maximum number of records to be returned (max limit: 100)'
44+
sort:
45+
type: optional<AccessGroupsListRequestSort>
46+
docs: |
47+
Sort string to use when ordering access groups
48+
Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`)
49+
response:
50+
docs: Request was successful
51+
type: root.AccessGroupList
52+
errors:
53+
- root.BadRequestError
54+
- root.UnauthorizedError
55+
- root.ForbiddenError
56+
- root.NotFoundError
57+
- root.TooManyRequestsError
58+
- root.InternalServerError
59+
examples:
60+
- path-parameters:
61+
site_id: 580e63e98c9a982ac9b8b741
62+
response:
63+
body:
64+
count: 1
65+
limit: 10
66+
offset: 0
67+
total: 1
68+
accessGroups:
69+
- id: 62be58d404be8a6cc900c081
70+
name: Research Team
71+
shortId: rt
72+
slug: hitchhikers-guide-research-team
73+
createdOn: '2022-08-01T19:41:48Z'
74+
- id: 65a96161991e77bbb4a6c573
75+
name: Admin
76+
shortId: ad
77+
slug: admin
78+
createdOn: '2022-08-01T19:41:48Z'
79+
source:
80+
openapi: ../../../referenced-specs/v2.yml

.mock/definition/api.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: api
2+
error-discrimination:
3+
strategy: status-code
4+
display-name: Data API
5+
environments:
6+
Default: https://api.webflow.com/v2
7+
default-environment: Default
8+
auth-schemes:
9+
BearerToken:
10+
scheme: bearer
11+
token:
12+
name: accessToken
13+
auth: BearerToken

0 commit comments

Comments
 (0)