Skip to content

snowflake update #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions providers/src/snowflake/v00.00.00000/services/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,8 @@ components:
description: Set `X-Snowflake-Authorization-Token-Type` to `OAUTH` if the token
is snowflakeOAuth
parameters:
database:
name: database
database_name:
name: database_name
description: Identifier (i.e. name) for the database to which the resource belongs.
You can use the `/api/v2/databases` GET request to get a list of available
databases.
Expand All @@ -627,8 +627,8 @@ components:
schema:
example: TEST_DB
$ref: '#/components/schemas/Identifier'
schema:
name: schema
schema_name:
name: schema_name
description: Identifier (i.e. name) for the schema to which the resource belongs.
You can use the `/api/v2/databases/{database}/schemas` GET request to get
a list of available schemas for the specified database.
Expand Down
52 changes: 26 additions & 26 deletions providers/src/snowflake/v00.00.00000/services/alert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ info:
url: https://snowflake.com
email: [email protected]
paths:
/api/v2/databases/{database}/schemas/{schema}/alerts:
/api/v2/databases/{database_name}/schemas/{schema_name}/alerts:
get:
summary: List alerts
tags:
- alert
description: List alerts
operationId: listAlerts
parameters:
- $ref: '#/components/parameters/database'
- $ref: '#/components/parameters/schema'
- $ref: '#/components/parameters/database_name'
- $ref: '#/components/parameters/schema_name'
- $ref: '#/components/parameters/like'
- $ref: '#/components/parameters/startsWith'
- $ref: '#/components/parameters/showLimit'
Expand Down Expand Up @@ -75,8 +75,8 @@ paths:
description: Create an alert
operationId: createAlert
parameters:
- $ref: '#/components/parameters/database'
- $ref: '#/components/parameters/schema'
- $ref: '#/components/parameters/database_name'
- $ref: '#/components/parameters/schema_name'
- $ref: '#/components/parameters/createMode'
responses:
'200':
Expand Down Expand Up @@ -113,16 +113,16 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Alert'
/api/v2/databases/{database}/schemas/{schema}/alerts/{name}:
/api/v2/databases/{database_name}/schemas/{schema_name}/alerts/{name}:
get:
summary: Fetch an alert
tags:
- alert
description: Fetch an alert
operationId: fetchAlert
parameters:
- $ref: '#/components/parameters/database'
- $ref: '#/components/parameters/schema'
- $ref: '#/components/parameters/database_name'
- $ref: '#/components/parameters/schema_name'
- $ref: '#/components/parameters/name'
responses:
'200':
Expand Down Expand Up @@ -167,8 +167,8 @@ paths:
description: Delete an alert
operationId: deleteAlert
parameters:
- $ref: '#/components/parameters/database'
- $ref: '#/components/parameters/schema'
- $ref: '#/components/parameters/database_name'
- $ref: '#/components/parameters/schema_name'
- $ref: '#/components/parameters/name'
- $ref: '#/components/parameters/ifExists'
responses:
Expand Down Expand Up @@ -200,16 +200,16 @@ paths:
$ref: '#/components/responses/503ServiceUnavailable'
'504':
$ref: '#/components/responses/504GatewayTimeout'
/api/v2/databases/{database}/schemas/{schema}/alerts/{name}:clone:
/api/v2/databases/{database_name}/schemas/{schema_name}/alerts/{name}:clone:
post:
summary: Create a new alert by cloning from the specified resource
tags:
- alert
description: Create a new alert by cloning from the specified resource
operationId: cloneAlert
parameters:
- $ref: '#/components/parameters/database'
- $ref: '#/components/parameters/schema'
- $ref: '#/components/parameters/database_name'
- $ref: '#/components/parameters/schema_name'
- $ref: '#/components/parameters/name'
- $ref: '#/components/parameters/createMode'
- name: targetDatabase
Expand Down Expand Up @@ -261,16 +261,16 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/AlertClone'
/api/v2/databases/{database}/schemas/{schema}/alerts/{name}:execute:
/api/v2/databases/{database_name}/schemas/{schema_name}/alerts/{name}:execute:
post:
summary: Execute an alert
tags:
- alert
description: Execute an alert
operationId: executeAlert
parameters:
- $ref: '#/components/parameters/database'
- $ref: '#/components/parameters/schema'
- $ref: '#/components/parameters/database_name'
- $ref: '#/components/parameters/schema_name'
- $ref: '#/components/parameters/name'
responses:
'200':
Expand Down Expand Up @@ -618,8 +618,8 @@ components:
description: Set `X-Snowflake-Authorization-Token-Type` to `OAUTH` if the token
is snowflakeOAuth
parameters:
database:
name: database
database_name:
name: database_name
description: Identifier (i.e. name) for the database to which the resource belongs.
You can use the `/api/v2/databases` GET request to get a list of available
databases.
Expand All @@ -628,8 +628,8 @@ components:
schema:
example: TEST_DB
$ref: '#/components/schemas/Identifier'
schema:
name: schema
schema_name:
name: schema_name
description: Identifier (i.e. name) for the schema to which the resource belongs.
You can use the `/api/v2/databases/{database}/schemas` GET request to get
a list of available schemas for the specified database.
Expand Down Expand Up @@ -1030,37 +1030,37 @@ components:
methods:
list_alerts:
operation:
$ref: '#/paths/~1api~1v2~1databases~1{database}~1schemas~1{schema}~1alerts/get'
$ref: '#/paths/~1api~1v2~1databases~1{database_name}~1schemas~1{schema_name}~1alerts/get'
response:
mediaType: application/json
openAPIDocKey: '200'
create_alert:
operation:
$ref: '#/paths/~1api~1v2~1databases~1{database}~1schemas~1{schema}~1alerts/post'
$ref: '#/paths/~1api~1v2~1databases~1{database_name}~1schemas~1{schema_name}~1alerts/post'
response:
mediaType: ''
openAPIDocKey: '200'
fetch_alert:
operation:
$ref: '#/paths/~1api~1v2~1databases~1{database}~1schemas~1{schema}~1alerts~1{name}/get'
$ref: '#/paths/~1api~1v2~1databases~1{database_name}~1schemas~1{schema_name}~1alerts~1{name}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
delete_alert:
operation:
$ref: '#/paths/~1api~1v2~1databases~1{database}~1schemas~1{schema}~1alerts~1{name}/delete'
$ref: '#/paths/~1api~1v2~1databases~1{database_name}~1schemas~1{schema_name}~1alerts~1{name}/delete'
response:
mediaType: ''
openAPIDocKey: '200'
clone_alert:
operation:
$ref: '#/paths/~1api~1v2~1databases~1{database}~1schemas~1{schema}~1alerts~1{name}:clone/post'
$ref: '#/paths/~1api~1v2~1databases~1{database_name}~1schemas~1{schema_name}~1alerts~1{name}:clone/post'
response:
mediaType: ''
openAPIDocKey: '200'
execute_alert:
operation:
$ref: '#/paths/~1api~1v2~1databases~1{database}~1schemas~1{schema}~1alerts~1{name}:execute/post'
$ref: '#/paths/~1api~1v2~1databases~1{database_name}~1schemas~1{schema_name}~1alerts~1{name}:execute/post'
response:
mediaType: ''
openAPIDocKey: '200'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,8 @@ components:
description: Set `X-Snowflake-Authorization-Token-Type` to `OAUTH` if the token
is snowflakeOAuth
parameters:
database:
name: database
database_name:
name: database_name
description: Identifier (i.e. name) for the database to which the resource belongs.
You can use the `/api/v2/databases` GET request to get a list of available
databases.
Expand All @@ -601,8 +601,8 @@ components:
schema:
example: TEST_DB
$ref: '#/components/schemas/Identifier'
schema:
name: schema
schema_name:
name: schema_name
description: Identifier (i.e. name) for the schema to which the resource belongs.
You can use the `/api/v2/databases/{database}/schemas` GET request to get
a list of available schemas for the specified database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ components:
allOf:
- $ref: '#/components/schemas/TargetLag'
parameters:
database:
name: database
database_name:
name: database_name
description: Identifier (i.e. name) for the database to which the resource belongs.
You can use the `/api/v2/databases` GET request to get a list of available
databases.
Expand All @@ -541,8 +541,8 @@ components:
schema:
example: TEST_DB
$ref: '#/components/schemas/Identifier'
schema:
name: schema
schema_name:
name: schema_name
description: Identifier (i.e. name) for the schema to which the resource belongs.
You can use the `/api/v2/databases/{database}/schemas` GET request to get
a list of available schemas for the specified database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,8 +692,8 @@ components:
description: Set `X-Snowflake-Authorization-Token-Type` to `OAUTH` if the token
is snowflakeOAuth
parameters:
database:
name: database
database_name:
name: database_name
description: Identifier (i.e. name) for the database to which the resource belongs.
You can use the `/api/v2/databases` GET request to get a list of available
databases.
Expand All @@ -702,8 +702,8 @@ components:
schema:
example: TEST_DB
$ref: '#/components/schemas/Identifier'
schema:
name: schema
schema_name:
name: schema_name
description: Identifier (i.e. name) for the schema to which the resource belongs.
You can use the `/api/v2/databases/{database}/schemas` GET request to get
a list of available schemas for the specified database.
Expand Down
Loading
Loading