Skip to content

Commit

Permalink
Update OpenAPI spec for v3 (Commit SHA: f6e2e9d0266cf525336dfa4596ab4…
Browse files Browse the repository at this point in the history
…bbfcde72bb5)
  • Loading branch information
actions-user committed Sep 25, 2024
1 parent f0c5c2e commit d235637
Showing 1 changed file with 0 additions and 236 deletions.
236 changes: 0 additions & 236 deletions openapi-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -522,137 +522,6 @@ paths:
schema:
$ref: '#/components/schemas/GroupEnveloped'
description: ''
/api/v3/accounts/{account_id}/integrations/open-ai/:
get:
operationId: List OpenAI keys
parameters:
- in: path
name: account_id
schema:
type: integer
required: true
tags:
- Integrations
security:
- BearerAuthentication: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ListOpenAIKeyResponseResponse'
description: ''
post:
operationId: Create OpenAI key
parameters:
- in: path
name: account_id
schema:
type: integer
required: true
tags:
- Integrations
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PostOpenAIKeyRequestRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/PostOpenAIKeyRequestRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/PostOpenAIKeyRequestRequest'
required: true
security:
- BearerAuthentication: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/OpenAIKeyResponseResponse'
description: ''
/api/v3/accounts/{account_id}/integrations/open-ai/{id}/:
get:
operationId: Get OpenAI key
parameters:
- in: path
name: account_id
schema:
type: integer
required: true
- in: path
name: id
schema:
type: integer
required: true
tags:
- Integrations
security:
- BearerAuthentication: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/OpenAIKeyResponseResponse'
description: ''
patch:
operationId: Update OpenAI key
parameters:
- in: path
name: account_id
schema:
type: integer
required: true
- in: path
name: id
schema:
type: integer
required: true
tags:
- Integrations
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PatchOpenAIKeyRequestRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/PatchOpenAIKeyRequestRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/PatchOpenAIKeyRequestRequest'
security:
- BearerAuthentication: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/OpenAIKeyResponseResponse'
description: ''
delete:
operationId: Delete OpenAI key
parameters:
- in: path
name: account_id
schema:
type: integer
required: true
- in: path
name: id
schema:
type: integer
required: true
tags:
- Integrations
security:
- BearerAuthentication: []
responses:
'204':
description: No response body
/api/v3/accounts/{account_id}/invites/:
post:
operationId: Send user invites
Expand Down Expand Up @@ -6525,26 +6394,6 @@ components:
required:
- status
- data
ListOpenAIKeyResponseResponse:
title: ListOpenAIKeyResponseResponse
type: object
properties:
status:
$ref: '#/components/schemas/Status'
data:
title: Data
type: array
items:
$ref: '#/components/schemas/OpenAIKeyResponse'
extra:
title: Extra
type: object
error_code:
title: Error Code
type: integer
required:
- status
- data
ListWebhooksReceiptsResponseEnvelope:
type: object
properties:
Expand Down Expand Up @@ -6692,60 +6541,6 @@ components:
- created_at
- id
- updated_at
OpenAIKeyResponse:
title: OpenAIKeyResponse
type: object
properties:
id:
title: Id
description: The ID for the OpenAI key
type: integer
created_at:
title: Created At
type: string
format: date-time
updated_at:
title: Updated At
type: string
format: date-time
account_id:
title: Account Id
description: The account the OpenAI key is associated with
type: integer
key_type:
description: The type of the OpenAI key
allOf:
- $ref: '#/components/schemas/OpenAIKeyType'
required:
- id
- created_at
- updated_at
- account_id
- key_type
OpenAIKeyResponseResponse:
title: OpenAIKeyResponseResponse
type: object
properties:
status:
$ref: '#/components/schemas/Status'
data:
$ref: '#/components/schemas/OpenAIKeyResponse'
extra:
title: Extra
type: object
error_code:
title: Error Code
type: integer
required:
- status
- data
OpenAIKeyType:
title: OpenAIKeyType
description: An enumeration.
enum:
- openai
- azure_openai
type: string
OptionalApacheSparkConnection:
title: OptionalApacheSparkConnection
type: object
Expand Down Expand Up @@ -7247,20 +7042,6 @@ components:
allOf:
- $ref: '#/components/schemas/OptionalTableauIntegration'
additionalProperties: false
PatchOpenAIKeyRequestRequest:
title: PatchOpenAIKeyRequest
description: parent class for all request bodies, to be extended by each endpoint
type: object
properties:
key_type:
description: The type of the OpenAI key
allOf:
- $ref: '#/components/schemas/OpenAIKeyType'
key_value:
title: Key Value
description: The value for the OpenAI key
type: string
additionalProperties: false
PermissionSetEnum:
enum:
- owner
Expand Down Expand Up @@ -7429,23 +7210,6 @@ components:
items:
type: string
additionalProperties: false
PostOpenAIKeyRequestRequest:
title: PostOpenAIKeyRequest
description: parent class for all request bodies, to be extended by each endpoint
type: object
properties:
key_type:
description: The type of the OpenAI key
allOf:
- $ref: '#/components/schemas/OpenAIKeyType'
key_value:
title: Key Value
description: The value for the OpenAI key
type: string
required:
- key_type
- key_value
additionalProperties: false
PostgresConnection:
title: PostgresConnection
type: object
Expand Down

0 comments on commit d235637

Please sign in to comment.