-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fetch twilio-oai v1.20.2 specs
- Loading branch information
Showing
34 changed files
with
95,214 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,133 @@ | ||
components: | ||
schemas: | ||
frontline.v1.user: | ||
properties: | ||
avatar: | ||
description: The avatar URL which will be shown in Frontline application | ||
nullable: true | ||
type: string | ||
friendly_name: | ||
description: The string that you assigned to describe the User | ||
nullable: true | ||
type: string | ||
identity: | ||
description: The string that identifies the resource's User | ||
nullable: true | ||
type: string | ||
sid: | ||
description: The unique string that identifies the resource | ||
maxLength: 34 | ||
minLength: 34 | ||
nullable: true | ||
pattern: ^US[0-9a-fA-F]{32}$ | ||
type: string | ||
state: | ||
description: Current state of this user | ||
enum: | ||
- active | ||
- deactivated | ||
nullable: true | ||
type: string | ||
url: | ||
description: An absolute URL for this user. | ||
format: uri | ||
nullable: true | ||
type: string | ||
type: object | ||
securitySchemes: | ||
accountSid_authToken: | ||
scheme: basic | ||
type: http | ||
info: | ||
contact: | ||
email: support@twilio.com | ||
name: Twilio Support | ||
url: https://support.twilio.com | ||
description: This is the public Twilio REST API. | ||
license: | ||
name: Apache 2.0 | ||
url: https://www.apache.org/licenses/LICENSE-2.0.html | ||
termsOfService: https://www.twilio.com/legal/tos | ||
title: Twilio - Frontline | ||
version: 1.20.2 | ||
openapi: 3.0.1 | ||
paths: | ||
/v1/Users/{Sid}: | ||
description: A User resource represents a frontline user. | ||
get: | ||
description: Fetch a frontline user | ||
operationId: FetchUser | ||
parameters: | ||
- description: The SID of the User resource to fetch. This value can be either | ||
the `sid` or the `identity` of the User resource to fetch. | ||
in: path | ||
name: Sid | ||
required: true | ||
schema: | ||
type: string | ||
responses: | ||
'200': | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/frontline.v1.user' | ||
description: OK | ||
security: | ||
- accountSid_authToken: [] | ||
x-maturity: | ||
- Beta | ||
post: | ||
description: Update an existing frontline user | ||
operationId: UpdateUser | ||
parameters: | ||
- description: The SID of the User resource to update. This value can be either | ||
the `sid` or the `identity` of the User resource to update. | ||
in: path | ||
name: Sid | ||
required: true | ||
schema: | ||
type: string | ||
requestBody: | ||
content: | ||
application/x-www-form-urlencoded: | ||
schema: | ||
properties: | ||
Avatar: | ||
description: The avatar URL which will be shown in Frontline application. | ||
type: string | ||
FriendlyName: | ||
description: The string that you assigned to describe the User. | ||
type: string | ||
State: | ||
description: Current state of this user. Can be either `active` | ||
or `deactivated` and defaults to `active` | ||
enum: | ||
- active | ||
- deactivated | ||
type: string | ||
title: UpdateUserRequest | ||
type: object | ||
responses: | ||
'200': | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/frontline.v1.user' | ||
description: OK | ||
security: | ||
- accountSid_authToken: [] | ||
x-maturity: | ||
- Beta | ||
servers: | ||
- url: https://frontline-api.twilio.com | ||
x-twilio: | ||
defaultOutputProperties: | ||
- sid | ||
- identity | ||
pathType: instance | ||
servers: | ||
- url: https://frontline-api.twilio.com | ||
x-maturity: | ||
- description: PLEASE NOTE that this is a Beta product that is subject to change. | ||
Use it with caution. | ||
name: Beta |
Oops, something went wrong.