Skip to content
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
138 changes: 69 additions & 69 deletions providers/src/snowflake/v00.00.00000/services/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ paths:
description: Lists the accessible accounts.
operationId: listAccounts
parameters:
- $ref: common.yaml#/components/parameters/like
- $ref: common.yaml#/components/parameters/showLimit
- $ref: '#/components/parameters/like'
- $ref: '#/components/parameters/showLimit'
- name: history
in: query
description: Optionally includes dropped accounts that have not yet been purged.
Expand All @@ -34,39 +34,39 @@ paths:
description: Successful request.
headers:
X-Snowflake-Request-ID:
$ref: common.yaml#/components/headers/X-Snowflake-Request-ID
$ref: '#/components/headers/X-Snowflake-Request-ID'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Account'
'202':
$ref: common.yaml#/components/responses/202SuccessAcceptedResponse
$ref: '#/components/responses/202SuccessAcceptedResponse'
'400':
$ref: common.yaml#/components/responses/400BadRequest
$ref: '#/components/responses/400BadRequest'
'401':
$ref: common.yaml#/components/responses/401Unauthorized
$ref: '#/components/responses/401Unauthorized'
'403':
$ref: common.yaml#/components/responses/403Forbidden
$ref: '#/components/responses/403Forbidden'
'404':
$ref: common.yaml#/components/responses/404NotFound
$ref: '#/components/responses/404NotFound'
'405':
$ref: common.yaml#/components/responses/405MethodNotAllowed
$ref: '#/components/responses/405MethodNotAllowed'
'408':
$ref: common.yaml#/components/responses/408RequestTimeout
$ref: '#/components/responses/408RequestTimeout'
'409':
$ref: common.yaml#/components/responses/409Conflict
$ref: '#/components/responses/409Conflict'
'410':
$ref: common.yaml#/components/responses/410Gone
$ref: '#/components/responses/410Gone'
'429':
$ref: common.yaml#/components/responses/429LimitExceeded
$ref: '#/components/responses/429LimitExceeded'
'500':
$ref: common.yaml#/components/responses/500InternalServerError
$ref: '#/components/responses/500InternalServerError'
'503':
$ref: common.yaml#/components/responses/503ServiceUnavailable
$ref: '#/components/responses/503ServiceUnavailable'
'504':
$ref: common.yaml#/components/responses/504GatewayTimeout
$ref: '#/components/responses/504GatewayTimeout'
post:
summary: Create an account.
tags:
Expand All @@ -82,33 +82,33 @@ paths:
$ref: '#/components/schemas/Account'
responses:
'200':
$ref: common.yaml#/components/responses/200SuccessResponse
$ref: '#/components/responses/200SuccessResponse'
'202':
$ref: common.yaml#/components/responses/202SuccessAcceptedResponse
$ref: '#/components/responses/202SuccessAcceptedResponse'
'400':
$ref: common.yaml#/components/responses/400BadRequest
$ref: '#/components/responses/400BadRequest'
'401':
$ref: common.yaml#/components/responses/401Unauthorized
$ref: '#/components/responses/401Unauthorized'
'403':
$ref: common.yaml#/components/responses/403Forbidden
$ref: '#/components/responses/403Forbidden'
'404':
$ref: common.yaml#/components/responses/404NotFound
$ref: '#/components/responses/404NotFound'
'405':
$ref: common.yaml#/components/responses/405MethodNotAllowed
$ref: '#/components/responses/405MethodNotAllowed'
'408':
$ref: common.yaml#/components/responses/408RequestTimeout
$ref: '#/components/responses/408RequestTimeout'
'409':
$ref: common.yaml#/components/responses/409Conflict
$ref: '#/components/responses/409Conflict'
'410':
$ref: common.yaml#/components/responses/410Gone
$ref: '#/components/responses/410Gone'
'429':
$ref: common.yaml#/components/responses/429LimitExceeded
$ref: '#/components/responses/429LimitExceeded'
'500':
$ref: common.yaml#/components/responses/500InternalServerError
$ref: '#/components/responses/500InternalServerError'
'503':
$ref: common.yaml#/components/responses/503ServiceUnavailable
$ref: '#/components/responses/503ServiceUnavailable'
'504':
$ref: common.yaml#/components/responses/504GatewayTimeout
$ref: '#/components/responses/504GatewayTimeout'
/api/v2/accounts/{name}:
delete:
summary: Delete an account.
Expand All @@ -119,8 +119,8 @@ paths:
failure is returned if the account does not exist. if the drop is unsuccessful.
operationId: deleteAccount
parameters:
- $ref: common.yaml#/components/parameters/name
- $ref: common.yaml#/components/parameters/ifExists
- $ref: '#/components/parameters/name'
- $ref: '#/components/parameters/ifExists'
- name: gracePeriodInDays
in: query
description: "Specifies the number of days during which the account can be\
Expand All @@ -131,33 +131,33 @@ paths:
required: true
responses:
'200':
$ref: common.yaml#/components/responses/200SuccessResponse
$ref: '#/components/responses/200SuccessResponse'
'202':
$ref: common.yaml#/components/responses/202SuccessAcceptedResponse
$ref: '#/components/responses/202SuccessAcceptedResponse'
'400':
$ref: common.yaml#/components/responses/400BadRequest
$ref: '#/components/responses/400BadRequest'
'401':
$ref: common.yaml#/components/responses/401Unauthorized
$ref: '#/components/responses/401Unauthorized'
'403':
$ref: common.yaml#/components/responses/403Forbidden
$ref: '#/components/responses/403Forbidden'
'404':
$ref: common.yaml#/components/responses/404NotFound
$ref: '#/components/responses/404NotFound'
'405':
$ref: common.yaml#/components/responses/405MethodNotAllowed
$ref: '#/components/responses/405MethodNotAllowed'
'408':
$ref: common.yaml#/components/responses/408RequestTimeout
$ref: '#/components/responses/408RequestTimeout'
'409':
$ref: common.yaml#/components/responses/409Conflict
$ref: '#/components/responses/409Conflict'
'410':
$ref: common.yaml#/components/responses/410Gone
$ref: '#/components/responses/410Gone'
'429':
$ref: common.yaml#/components/responses/429LimitExceeded
$ref: '#/components/responses/429LimitExceeded'
'500':
$ref: common.yaml#/components/responses/500InternalServerError
$ref: '#/components/responses/500InternalServerError'
'503':
$ref: common.yaml#/components/responses/503ServiceUnavailable
$ref: '#/components/responses/503ServiceUnavailable'
'504':
$ref: common.yaml#/components/responses/504GatewayTimeout
$ref: '#/components/responses/504GatewayTimeout'
/api/v2/accounts/{name}:undrop:
post:
summary: Restore an account.
Expand All @@ -167,36 +167,36 @@ paths:
(a dropped account that is within its grace period).
operationId: UndropAccount
parameters:
- $ref: common.yaml#/components/parameters/name
- $ref: '#/components/parameters/name'
responses:
'200':
$ref: common.yaml#/components/responses/200SuccessResponse
$ref: '#/components/responses/200SuccessResponse'
'202':
$ref: common.yaml#/components/responses/202SuccessAcceptedResponse
$ref: '#/components/responses/202SuccessAcceptedResponse'
'400':
$ref: common.yaml#/components/responses/400BadRequest
$ref: '#/components/responses/400BadRequest'
'401':
$ref: common.yaml#/components/responses/401Unauthorized
$ref: '#/components/responses/401Unauthorized'
'403':
$ref: common.yaml#/components/responses/403Forbidden
$ref: '#/components/responses/403Forbidden'
'404':
$ref: common.yaml#/components/responses/404NotFound
$ref: '#/components/responses/404NotFound'
'405':
$ref: common.yaml#/components/responses/405MethodNotAllowed
$ref: '#/components/responses/405MethodNotAllowed'
'408':
$ref: common.yaml#/components/responses/408RequestTimeout
$ref: '#/components/responses/408RequestTimeout'
'409':
$ref: common.yaml#/components/responses/409Conflict
$ref: '#/components/responses/409Conflict'
'410':
$ref: common.yaml#/components/responses/410Gone
$ref: '#/components/responses/410Gone'
'429':
$ref: common.yaml#/components/responses/429LimitExceeded
$ref: '#/components/responses/429LimitExceeded'
'500':
$ref: common.yaml#/components/responses/500InternalServerError
$ref: '#/components/responses/500InternalServerError'
'503':
$ref: common.yaml#/components/responses/503ServiceUnavailable
$ref: '#/components/responses/503ServiceUnavailable'
'504':
$ref: common.yaml#/components/responses/504GatewayTimeout
$ref: '#/components/responses/504GatewayTimeout'
components:
schemas:
Account:
Expand All @@ -208,7 +208,7 @@ components:
readOnly: true
description: Name of the organization.
name:
$ref: ./common.yaml#/components/schemas/Identifier
$ref: '#/components/schemas/Identifier'
description: User-defined name that identifies an account within the organization.
region_group:
type: string
Expand Down Expand Up @@ -593,11 +593,11 @@ components:
- $ref: '#/components/schemas/TargetLag'
securitySchemes:
KeyPair:
$ref: common.yaml#/components/securitySchemes/KeyPair
$ref: '#/components/securitySchemes/KeyPair'
ExternalOAuth:
$ref: common.yaml#/components/securitySchemes/ExternalOAuth
$ref: '#/components/securitySchemes/ExternalOAuth'
SnowflakeOAuth:
$ref: common.yaml#/components/securitySchemes/SnowflakeOAuth
$ref: '#/components/securitySchemes/SnowflakeOAuth'
parameters:
database:
name: database
Expand All @@ -608,7 +608,7 @@ components:
in: path
schema:
example: TEST_DB
$ref: ./common.yaml#/components/schemas/Identifier
$ref: '#/components/schemas/Identifier'
schema:
name: schema
description: Identifier (i.e. name) for the schema to which the resource belongs.
Expand All @@ -618,7 +618,7 @@ components:
in: path
schema:
example: TEST_SCHEMA
$ref: ./common.yaml#/components/schemas/Identifier
$ref: '#/components/schemas/Identifier'
application:
name: application
description: Identifier (i.e. name) for the application to which the resource
Expand All @@ -628,15 +628,15 @@ components:
in: path
schema:
example: TEST_APPLICATION
$ref: ./common.yaml#/components/schemas/Identifier
$ref: '#/components/schemas/Identifier'
name:
name: name
description: Identifier (i.e. name) for the resource.
required: true
in: path
schema:
example: TEST_NAME
$ref: ./common.yaml#/components/schemas/Identifier
$ref: '#/components/schemas/Identifier'
nameWithArgs:
name: nameWithArgs
description: Function's name with Args
Expand Down
Loading
Loading