Skip to content

Commit

Permalink
chore: release 2.5.0 (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] authored Dec 4, 2024
1 parent 0d715fd commit 2f92f29
Show file tree
Hide file tree
Showing 165 changed files with 16,430 additions and 2,155 deletions.
2,495 changes: 2,495 additions & 0 deletions .mock/definition/__package__.yml

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions .mock/definition/accessGroups.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
types:
AccessGroupsListRequestSort:
enum:
- value: CreatedOn
name: CreatedOnAscending
docs: Sorts users in ascending order based on their created date
- value: '-CreatedOn'
name: CreatedOnDescending
docs: Sorts users in descending order based on their created date
source:
openapi: ../../../referenced-specs/v2.yml
imports:
root: __package__.yml
service:
auth: false
base-path: ''
endpoints:
list:
path: /sites/{site_id}/accessgroups
method: GET
auth: true
docs: |
Get a list of access groups for a site
Required scope | `users:read`
source:
openapi: ../../../referenced-specs/v2.yml
path-parameters:
site_id:
type: string
docs: Unique identifier for a Site
display-name: List Access Groups
request:
name: AccessGroupsListRequest
query-parameters:
offset:
type: optional<double>
docs: >-
Offset used for pagination if the results have more than limit
records
limit:
type: optional<double>
docs: 'Maximum number of records to be returned (max limit: 100)'
sort:
type: optional<AccessGroupsListRequestSort>
docs: |
Sort string to use when ordering access groups
Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`)
response:
docs: Request was successful
type: root.AccessGroupList
errors:
- root.BadRequestError
- root.UnauthorizedError
- root.ForbiddenError
- root.NotFoundError
- root.TooManyRequestsError
- root.InternalServerError
examples:
- path-parameters:
site_id: 580e63e98c9a982ac9b8b741
response:
body:
count: 1
limit: 10
offset: 0
total: 1
accessGroups:
- id: 62be58d404be8a6cc900c081
name: Research Team
shortId: rt
slug: hitchhikers-guide-research-team
createdOn: '2022-08-01T19:41:48Z'
- id: 65a96161991e77bbb4a6c573
name: Admin
shortId: ad
slug: admin
createdOn: '2022-08-01T19:41:48Z'
source:
openapi: ../../../referenced-specs/v2.yml
13 changes: 13 additions & 0 deletions .mock/definition/api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: api
error-discrimination:
strategy: status-code
display-name: Data API
environments:
Default: https://api.webflow.com/v2
default-environment: Default
auth-schemes:
BearerToken:
scheme: bearer
token:
name: accessToken
auth: BearerToken
Loading

0 comments on commit 2f92f29

Please sign in to comment.