-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d715fd
commit 2f92f29
Showing
165 changed files
with
16,430 additions
and
2,155 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.