Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellBarker committed Jun 3, 2024
1 parent 3794e40 commit 7f2ddc3
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 2 deletions.
26 changes: 24 additions & 2 deletions openapi-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1453,8 +1453,8 @@ paths:
get:
operationId: Retrieve Run Artifact
description: Use this endpoint to fetch artifacts from a completed run. Once
a run has completed, you can use this endpoint to download the `manifest.json`,
run `results.json` or `catalog.json` files from dbt Cloud. These artifacts
a run has been completed, you can use this endpoint to download the `manifest.json`,
`run_results.json`, or `catalog.json` files from dbt Cloud. These artifacts
contain information about the models in your dbt project, timing information
around their execution, and a status message indicating the result of the
model build. By default, this endpoint returns artifacts from the last step
Expand Down Expand Up @@ -3000,6 +3000,7 @@ components:
- on_cancel
- on_failure
- on_success
- on_warning
- user_id
properties:
id:
Expand All @@ -3025,6 +3026,11 @@ components:
description: List of job IDs to send notifications for when the job fails.
on_success:
description: List of job IDs to send notifications for when the job succeeds.
on_warning:
oneOf:
- {}
- type: 'null'
description: List of job IDs to send notifications for when the job warns.
created_at:
type: string
format: date-time
Expand Down Expand Up @@ -3087,6 +3093,7 @@ components:
- on_cancel
- on_failure
- on_success
- on_warning
- user_id
properties:
id:
Expand All @@ -3112,6 +3119,11 @@ components:
description: List of job IDs to send notifications for when the job fails.
on_success:
description: List of job IDs to send notifications for when the job succeeds.
on_warning:
oneOf:
- {}
- type: 'null'
description: List of job IDs to send notifications for when the job warns.
user_id:
type: integer
description: For internal email notifications, the ID of the user to send
Expand Down Expand Up @@ -3223,6 +3235,9 @@ components:
account_id:
type: integer
description: The account the project is associated with
description:
type: string
description: The description of the project
connection_id:
type: integer
description: The active connection
Expand Down Expand Up @@ -3311,6 +3326,10 @@ components:
account_id:
type: integer
description: The account the project is associated with
description:
type: string
minLength: 1
description: The description of the project
connection_id:
type: integer
description: The active connection
Expand Down Expand Up @@ -3390,6 +3409,9 @@ components:
this entity is deleted
project_access_token_id:
type: integer
expires_at:
type: string
format: date-time
required:
- account_id
- gitlab_project_id
Expand Down
114 changes: 114 additions & 0 deletions openapi-v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2496,6 +2496,40 @@ paths:
responses:
'204':
description: No response body
/api/v3/accounts/{account_id}/semantic-layer-credentials/:

Check warning on line 2499 in openapi-v3.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

path-keys-no-trailing-slash

Path must not end with slash.
get:

Check warning on line 2500 in openapi-v3.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
operationId: List Semantic Layer Credentials

Check warning on line 2501 in openapi-v3.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

operation-operationId-valid-in-url

operationId must not characters that are invalid when used in URL.
parameters:
- in: path
name: account_id
schema:
type: integer
required: true
- in: query
name: account_id
schema:
type: integer
- in: query
name: pk
schema:
type: integer
- in: query
name: state
schema:
type: integer
tags:
- Semantic Layer Credentials

Check warning on line 2521 in openapi-v3.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

operation-tag-defined

Operation tags must be defined in global tags.
security:
- BearerAuthentication: []
responses:
'200':
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/SemanticLayerCredentialsEnveloped'
description: ''
/api/v3/accounts/{account_id}/service-tokens/:

Check warning on line 2533 in openapi-v3.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

path-keys-no-trailing-slash

Path must not end with slash.
get:

Check warning on line 2534 in openapi-v3.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

operation-description

Operation "description" must be present and non-empty string.
operationId: List Service Tokens

Check warning on line 2535 in openapi-v3.yaml

View workflow job for this annotation

GitHub Actions / Lint (pull_request)

operation-operationId-valid-in-url

operationId must not characters that are invalid when used in URL.
Expand Down Expand Up @@ -4748,6 +4782,9 @@ components:
account_id:
type: integer
description: The account the project is associated with
description:
type: string
description: The description of the project
connection_id:
type: integer
description: The active connection
Expand Down Expand Up @@ -4836,6 +4873,10 @@ components:
account_id:
type: integer
description: The account the project is associated with
description:
type: string
minLength: 1
description: The description of the project
connection_id:
type: integer
description: The active connection
Expand Down Expand Up @@ -4979,6 +5020,9 @@ components:
this entity is deleted
project_access_token_id:
type: integer
expires_at:
type: string
format: date-time
required:
- account_id
- gitlab_project_id
Expand All @@ -5004,6 +5048,9 @@ components:
type: string
writeOnly: true
minLength: 1
expires_at:
type: string
format: date-time
required:
- account_id
- gitlab_project_id
Expand Down Expand Up @@ -5235,6 +5282,73 @@ components:
items:
$ref: '#/components/schemas/Group'
description: Specification of how certain fields should be grouped
SchemaTypeEnum:
enum:
- connection
- credential
- semantic_layer_credentials
type: string
description: |-
* `connection` - connection
* `credential` - credential
* `semantic_layer_credentials` - semantic_layer_credentials
SemanticLayerCredentials:
type: object
properties:
id:
type: integer
account_id:
type: integer
description: The account the credentials are associated with
adapter_version:
allOf:
- $ref: '#/components/schemas/AdapterVersionEnum'
description: |-
The adapter version. Should match the associated project's adapter version.
* `apache_spark_v0` - apache_spark_v0
* `databricks_spark_v0` - databricks_spark_v0
* `databricks_v0` - databricks_v0
* `trino_v0` - trino_v0
* `snowflake_v0` - snowflake_v0
* `bigquery_v0` - bigquery_v0
* `postgres_v0` - postgres_v0
* `redshift_v0` - redshift_v0
* `synapse_v0` - synapse_v0
* `fabric_v0` - fabric_v0
schema_type:
allOf:
- $ref: '#/components/schemas/SchemaTypeEnum'
description: |-
The adapter schema type. Should always be 'semantic_layer_credentials'
* `connection` - connection
* `credential` - credential
* `semantic_layer_credentials` - semantic_layer_credentials
created_at:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
state:
type: integer
default: 1
required:
- created_at
- updated_at
SemanticLayerCredentialsEnveloped:
type: object
properties:
data:
$ref: '#/components/schemas/SemanticLayerCredentials'
status:
$ref: '#/components/schemas/Status'
required:
- data
- status
ServiceToken:
type: object
properties:
Expand Down

0 comments on commit 7f2ddc3

Please sign in to comment.