Skip to content

Commit

Permalink
periodic docs update (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellBarker authored May 17, 2024
1 parent 647ecd0 commit 3794e40
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 64 deletions.
131 changes: 106 additions & 25 deletions openapi-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1842,11 +1842,6 @@ components:
- type: 'null'
- type: integer
description: (Deprecated)
allow_repo_caching:
type: boolean
description: Repo caching is not currently available. Coming soon!
allow_partial_parsing:
type: boolean
migration_scheduled_at:
oneOf:
- type: 'null'
Expand Down Expand Up @@ -2025,11 +2020,6 @@ components:
- type: 'null'
- type: integer
description: (Deprecated)
allow_repo_caching:
type: boolean
description: Repo caching is not currently available. Coming soon!
allow_partial_parsing:
type: boolean
migration_scheduled_at:
oneOf:
- type: 'null'
Expand Down Expand Up @@ -2057,7 +2047,7 @@ components:
type: string
description: The name of the connection
type:
$ref: '#/components/schemas/TypeEnum'
$ref: '#/components/schemas/BaseConnectionV3TypeEnum'
created_by_id:
type: integer
created_by_service_token_id:
Expand All @@ -2074,6 +2064,20 @@ components:
- name
- project_id
- type
BaseConnectionV3TypeEnum:
enum:
- postgres
- redshift
- snowflake
- bigquery
- adapter
type: string
description: |-
* `postgres` - postgres
* `redshift` - redshift
* `snowflake` - snowflake
* `bigquery` - bigquery
* `adapter` - adapter
ConnectionEncryption:
type: object
properties:
Expand Down Expand Up @@ -2165,6 +2169,14 @@ components:
* `days_of_week` - days_of_week
* `custom_cron` - custom_cron
* `interval_cron` - interval_cron
DeploymentTypeEnum:
enum:
- production
- staging
type: string
description: |-
* `production` - production
* `staging` - staging
EnvironmentV2:
type: object
required:
Expand Down Expand Up @@ -2262,6 +2274,14 @@ components:
oneOf:
- type: 'null'
- type: integer
deployment_type:
oneOf:
- type: 'null'
- type: string
type:
oneOf:
- type: 'null'
- type: string
additionalProperties: false
definitions: {}
$schema: http://json-schema.org/draft-07/schema#
Expand Down Expand Up @@ -2362,9 +2382,71 @@ components:
oneOf:
- type: 'null'
- type: integer
deployment_type:
oneOf:
- type: 'null'
- type: string
type:
oneOf:
- type: 'null'
- type: string
additionalProperties: false
definitions: {}
$schema: http://json-schema.org/draft-07/schema#
EnvironmentV3:
type: object
properties:
id:
type: integer
account_id:
type: integer
description: The account the environment is associated with
project_id:
type: integer
description: The project the environment is associated with
credentials_id:
type: integer
description: The id of the associated credentials. Null for development
environments.
extended_attributes_id:
type: integer
name:
type: string
description: The name of the environment
dbt_version:
type: string
description: The default dbt Version to use for this environment
type:
$ref: '#/components/schemas/EnvironmentV3TypeEnum'
use_custom_branch:
type: boolean
custom_branch:
type: string
supports_docs:
type: boolean
state:
type: integer
default: 1
description: A value of 1 means this entity is active and a value of 2 means
this entity is deleted
deployment_type:
$ref: '#/components/schemas/DeploymentTypeEnum'
required:
- account_id
- dbt_version
- name
- project_id
- supports_docs
- type
- use_custom_branch
EnvironmentV3TypeEnum:
enum:
- development
- deployment
type: string
description: |-
* `development` - DEVELOPMENT
* `deployment` - DEPLOYMENT
GitCloneStrategyEnum:
enum:
- azure_active_directory_app
Expand Down Expand Up @@ -3172,6 +3254,11 @@ components:
allOf:
- $ref: '#/components/schemas/BaseConnectionV3'
readOnly: true
environments:
type: array
items:
$ref: '#/components/schemas/EnvironmentV3'
readOnly: true
repository:
allOf:
- $ref: '#/components/schemas/RepositoryV3'
Expand Down Expand Up @@ -3199,6 +3286,7 @@ components:
- connection
- created_at
- docs_job
- environments
- freshness_job
- group_permissions
- repository
Expand Down Expand Up @@ -3886,20 +3974,6 @@ components:
minLength: 1
required:
- cause
TypeEnum:
enum:
- postgres
- redshift
- snowflake
- bigquery
- adapter
type: string
description: |-
* `postgres` - postgres
* `redshift` - redshift
* `snowflake` - snowflake
* `bigquery` - bigquery
* `adapter` - adapter
User:
type: object
required:
Expand Down Expand Up @@ -4230,6 +4304,13 @@ components:
servers:
- url: https://cloud.getdbt.com/
description: Production (US)
- url: https://{account_prefix}.us1.dbt.com/
description: Production (US)
variables:
account_prefix:
default: ab123
description: Your unique account prefix. Can be found on your account settings
page.
- url: https://emea.dbt.com/
description: Production (Europe)
- url: https://au.dbt.com/
Expand Down
63 changes: 24 additions & 39 deletions openapi-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3341,11 +3341,6 @@ components:
- type: 'null'
- type: integer
description: (Deprecated)
allow_repo_caching:
type: boolean
description: Repo caching is not currently available. Coming soon!
allow_partial_parsing:
type: boolean
migration_scheduled_at:
oneOf:
- type: 'null'
Expand Down Expand Up @@ -3833,56 +3828,33 @@ components:
type: integer
name:
type: string
default: New Environment
description: The name of the environment
dbt_version:
type: string
default: versionless
description: The default dbt Version to use for this environment
raw_dbt_version:
type: string
readOnly: true
type:
allOf:
- $ref: '#/components/schemas/EnvironmentV3TypeEnum'
default: deployment
$ref: '#/components/schemas/EnvironmentV3TypeEnum'
use_custom_branch:
type: boolean
default: false
custom_branch:
type: string
supports_docs:
type: boolean
default: false
state:
type: integer
default: 1
created_at:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
project:
readOnly: true
credentials:
allOf:
- $ref: '#/components/schemas/PostgresCredentials'
readOnly: true
description: A value of 1 means this entity is active and a value of 2 means
this entity is deleted
deployment_type:
$ref: '#/components/schemas/DeploymentTypeEnum'
is_deferrable:
type: boolean
readOnly: true
required:
- created_at
- credentials
- is_deferrable
- project
- raw_dbt_version
- updated_at
- account_id
- dbt_version
- name
- project_id
- supports_docs
- type
- use_custom_branch
EnvironmentV3Enveloped:
type: object
properties:
Expand Down Expand Up @@ -4273,7 +4245,7 @@ components:
name:
type: string
type:
type: string
type: integer
state:
type: integer
default: 1
Expand Down Expand Up @@ -4807,6 +4779,11 @@ components:
allOf:
- $ref: '#/components/schemas/BaseConnectionV3'
readOnly: true
environments:
type: array
items:
$ref: '#/components/schemas/EnvironmentV3'
readOnly: true
repository:
allOf:
- $ref: '#/components/schemas/RepositoryV3'
Expand Down Expand Up @@ -4834,6 +4811,7 @@ components:
- connection
- created_at
- docs_job
- environments
- freshness_job
- group_permissions
- repository
Expand Down Expand Up @@ -5832,6 +5810,13 @@ components:
servers:
- url: https://cloud.getdbt.com/
description: Production (US)
- url: https://{account_prefix}.us1.dbt.com/
description: Production (US)
variables:
account_prefix:
default: ab123
description: Your unique account prefix. Can be found on your account settings
page.
- url: https://emea.dbt.com/
description: Production (Europe)
- url: https://au.dbt.com/
Expand Down

0 comments on commit 3794e40

Please sign in to comment.