Skip to content

Commit

Permalink
chore: fetch twilio-oai v1.20.2 specs
Browse files Browse the repository at this point in the history
  • Loading branch information
PiDelport committed Sep 23, 2021
1 parent b5101a2 commit 9874a87
Show file tree
Hide file tree
Showing 34 changed files with 95,214 additions and 0 deletions.
614 changes: 614 additions & 0 deletions specs/twilio_accounts_v1.yaml

Large diffs are not rendered by default.

25,095 changes: 25,095 additions & 0 deletions specs/twilio_api_v2010.yaml

Large diffs are not rendered by default.

3,231 changes: 3,231 additions & 0 deletions specs/twilio_autopilot_v1.yaml

Large diffs are not rendered by default.

642 changes: 642 additions & 0 deletions specs/twilio_bulkexports_v1.yaml

Large diffs are not rendered by default.

3,119 changes: 3,119 additions & 0 deletions specs/twilio_chat_v1.yaml

Large diffs are not rendered by default.

4,216 changes: 4,216 additions & 0 deletions specs/twilio_chat_v2.yaml

Large diffs are not rendered by default.

7,011 changes: 7,011 additions & 0 deletions specs/twilio_conversations_v1.yaml

Large diffs are not rendered by default.

1,204 changes: 1,204 additions & 0 deletions specs/twilio_events_v1.yaml

Large diffs are not rendered by default.

582 changes: 582 additions & 0 deletions specs/twilio_fax_v1.yaml

Large diffs are not rendered by default.

1,207 changes: 1,207 additions & 0 deletions specs/twilio_flex_v1.yaml

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions specs/twilio_frontline_v1.yaml
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
Loading

0 comments on commit 9874a87

Please sign in to comment.