Skip to content

Commit 35e5805

Browse files
authored
Merge branch 'main' into remove-volumes
2 parents c8d49f7 + aba0e0a commit 35e5805

File tree

367 files changed

+17070
-6127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

367 files changed

+17070
-6127
lines changed

airbyte-api/server-api/src/main/openapi/api.yaml

Lines changed: 192 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ paths:
3636
x-speakeasy-group: Health
3737
/config_templates:
3838
get:
39+
description: List all config templates available to a workspace. This endpoint
40+
is only available when Airbyte Embedded is enabled.
3941
tags:
4042
- public_config_templates
4143
- public
@@ -62,6 +64,8 @@ paths:
6264
in: query
6365
required: true
6466
post:
67+
description: Create a config template for an organization. This endpoint is
68+
only available when Airbyte Embedded is enabled.
6569
requestBody:
6670
content:
6771
application/json:
@@ -78,7 +82,7 @@ paths:
7882
application/json:
7983
schema:
8084
$ref: '#/components/schemas/ConfigTemplateCreateResponse'
81-
description: Create a config template.
85+
description: Created a config template.
8286
'403':
8387
description: Not allowed
8488
operationId: createConfigTemplate
@@ -87,6 +91,8 @@ paths:
8791
x-speakeasy-group: ConfigTemplates
8892
/config_templates/{configTemplateId}:
8993
patch:
94+
description: Edit a config template for an organization. This endpoint is only
95+
available when Airbyte Embedded is enabled.
9096
requestBody:
9197
content:
9298
application/json:
@@ -122,6 +128,8 @@ paths:
122128
in: path
123129
required: true
124130
get:
131+
description: Get a config template. This endpoint is only available when Airbyte
132+
Embedded is enabled.
125133
tags:
126134
- public_config_templates
127135
- public
@@ -2439,6 +2447,39 @@ paths:
24392447
operationId: listOrganizationsForUser
24402448
x-speakeasy-alias: listOrganizationsForUser
24412449
x-speakeasy-group: Organizations
2450+
/organizations/{organizationId}/oauthCredentials:
2451+
put:
2452+
requestBody:
2453+
content:
2454+
application/json:
2455+
schema:
2456+
$ref: '#/components/schemas/OrganizationOAuthCredentialsRequest'
2457+
required: true
2458+
tags:
2459+
- public_organizations
2460+
- public
2461+
- Organizations
2462+
responses:
2463+
'200':
2464+
description: OAuth credential override was successful.
2465+
'400':
2466+
description: A field in the body has not been set appropriately.
2467+
'403':
2468+
description: API key is invalid.
2469+
operationId: createOrUpdateOrganizationOAuthCredentials
2470+
x-speakeasy-alias: createOrUpdateOrganizationOAuthCredentials
2471+
x-speakeasy-group: Organizations
2472+
summary: Create OAuth override credentials for an organization and source type.
2473+
description: |-
2474+
Create/update a set of OAuth credentials to override the Airbyte-provided OAuth credentials used for source/destination OAuth.
2475+
In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination.
2476+
parameters:
2477+
- name: organizationId
2478+
schema:
2479+
format: UUID
2480+
type: string
2481+
in: path
2482+
required: true
24422483
/users:
24432484
get:
24442485
tags:
@@ -2621,9 +2662,12 @@ paths:
26212662
x-speakeasy-group: Tags
26222663
/embedded/widget:
26232664
post:
2624-
operationId: null
2625-
summary: Get a token for Airbyte Embedded
2665+
description: Get a token for the embedded widget. This endpoint is only available
2666+
when Airbyte Embedded is enabled.
2667+
operationId: getEmbeddedWidget
2668+
x-speakeasy-alias: getEmbeddedWidget
26262669
x-speakeasy-group: EmbeddedWidget
2670+
summary: Get a token for Airbyte Embedded
26272671
requestBody:
26282672
content:
26292673
application/json:
@@ -2663,6 +2707,14 @@ components:
26632707
x-speakeasy-component: true
26642708
type: integer
26652709
format: int64
2710+
SourceDefinitionSpecification:
2711+
description: The specification for what values are required to configure the
2712+
sourceDefinition.
2713+
type: object
2714+
example:
2715+
user:
2716+
type: string
2717+
x-speakeasy-component: true
26662718
SourceConfiguration:
26672719
type: object
26682720
description: The values required to configure the source. The schema for this
@@ -3003,6 +3055,11 @@ components:
30033055
type: array
30043056
items:
30053057
$ref: '#/components/schemas/JobTypeResourceLimit'
3058+
ActorDefinitionId:
3059+
description: A unique identifier for an actor definition.
3060+
type: string
3061+
format: uuid
3062+
x-speakeasy-component: true
30063063
JobTypeResourceLimit:
30073064
x-speakeasy-component: true
30083065
description: sets resource requirements for a specific job type for an actor
@@ -3474,6 +3531,23 @@ components:
34743531
configuration:
34753532
$ref: '#/components/schemas/OAuthCredentialsConfiguration'
34763533
x-speakeasy-component: true
3534+
OrganizationOAuthCredentialsRequest:
3535+
title: Root Type for OrganizationOAuthCredentials
3536+
description: POST body for creating/updating organization level OAuth credentials
3537+
required:
3538+
- actorType
3539+
- name
3540+
- configuration
3541+
type: object
3542+
properties:
3543+
actorType:
3544+
$ref: '#/components/schemas/ActorTypeEnum'
3545+
name:
3546+
type: string
3547+
description: The name of the source i.e. google-ads
3548+
configuration:
3549+
$ref: '#/components/schemas/OAuthCredentialsConfiguration'
3550+
x-speakeasy-component: true
34773551
OAuthCredentialsConfiguration:
34783552
description: The configuration for this source/destination based on the OAuth
34793553
section of the relevant specification.
@@ -4554,3 +4628,118 @@ components:
45544628
items:
45554629
$ref: '#/components/schemas/DataplaneResponse'
45564630
x-speakeasy-component: true
4631+
ConfigTemplateListResponse:
4632+
type: object
4633+
required:
4634+
- data
4635+
properties:
4636+
data:
4637+
type: array
4638+
items:
4639+
$ref: '#/components/schemas/ConfigTemplateListItem'
4640+
x-speakeasy-component: true
4641+
ConfigTemplateListItem:
4642+
type: object
4643+
required:
4644+
- id
4645+
- name
4646+
- icon
4647+
properties:
4648+
id:
4649+
type: string
4650+
format: uuid
4651+
name:
4652+
type: string
4653+
icon:
4654+
type: string
4655+
x-speakeasy-component: true
4656+
ConfigTemplatePublicRead:
4657+
type: object
4658+
required:
4659+
- id
4660+
- name
4661+
- icon
4662+
- sourceDefinitionId
4663+
- configTemplateSpec
4664+
- partialDefaultConfig
4665+
properties:
4666+
id:
4667+
type: string
4668+
format: uuid
4669+
name:
4670+
type: string
4671+
description: Name of the associated actor definition
4672+
icon:
4673+
type: string
4674+
description: url to icon in connector asset (svg) registry
4675+
sourceDefinitionId:
4676+
type: string
4677+
format: uuid
4678+
configTemplateSpec:
4679+
$ref: '#/components/schemas/SourceDefinitionSpecification'
4680+
partialDefaultConfig:
4681+
type: object
4682+
x-speakeasy-component: true
4683+
ConfigTemplateCreateRequestBody:
4684+
type: object
4685+
required:
4686+
- actorDefinitionId
4687+
- partialDefaultConfig
4688+
- partialUserConfigSpec
4689+
- organizationId
4690+
properties:
4691+
organizationId:
4692+
type: string
4693+
format: uuid
4694+
actorDefinitionId:
4695+
$ref: '#/components/schemas/ActorDefinitionId'
4696+
partialDefaultConfig:
4697+
$ref: '#/components/schemas/SourceConfiguration'
4698+
partialUserConfigSpec:
4699+
$ref: '#/components/schemas/SourceConfiguration'
4700+
x-speakeasy-component: true
4701+
ConfigTemplateCreateResponse:
4702+
type: object
4703+
required:
4704+
- id
4705+
properties:
4706+
id:
4707+
type: string
4708+
format: uuid
4709+
x-speakeasy-component: true
4710+
ConfigTemplateUpdateRequestBody:
4711+
type: object
4712+
required:
4713+
- organizationId
4714+
properties:
4715+
organizationId:
4716+
type: string
4717+
format: uuid
4718+
partialDefaultConfig:
4719+
$ref: '#/components/schemas/SourceConfiguration'
4720+
partialUserConfigSpec:
4721+
$ref: '#/components/schemas/SourceConfiguration'
4722+
x-speakeasy-component: true
4723+
ConfigTemplateUpdateResponse:
4724+
type: object
4725+
required:
4726+
- id
4727+
properties:
4728+
id:
4729+
type: string
4730+
format: uuid
4731+
x-speakeasy-component: true
4732+
EmbeddedWidgetRequest:
4733+
type: object
4734+
required:
4735+
- workspaceId
4736+
- allowedOrigin
4737+
properties:
4738+
workspaceId:
4739+
type: string
4740+
format: uuid
4741+
allowedOrigin:
4742+
type: string
4743+
externalUserId:
4744+
type: string
4745+
x-speakeasy-component: true

0 commit comments

Comments
 (0)