Skip to content

Commit 1dab29b

Browse files
Update schema: openapi.yaml
1 parent 521b726 commit 1dab29b

1 file changed

Lines changed: 76 additions & 0 deletions

File tree

openapi.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118029,6 +118029,53 @@ paths:
118029118029
x-fern-availability: generally-available
118030118030
x-fern-sdk-group-name: hyperdrive
118031118031
x-fern-sdk-method-name: restart
118032+
/accounts/{account_id}/hyperdrive/integrationsOperations/{integration}/createDatabaseSignature:
118033+
post:
118034+
operationId: create-hyperdrive-database-signature
118035+
summary: Create Database Signature
118036+
description: Returns a short-lived signed authorization for creating a database that is billed through Cloudflare. The caller passes these values to the integration partner's own CLI, which verifies the signature before creating the database. Requires the account to be entitled to Cloudflare-billed databases for the integration.
118037+
parameters:
118038+
- name: account_id
118039+
in: path
118040+
description: The Cloudflare account ID.
118041+
required: true
118042+
schema:
118043+
$ref: '#/components/schemas/hyperdrive_identifier'
118044+
- name: integration
118045+
in: path
118046+
description: The database integration to authorize against.
118047+
required: true
118048+
schema:
118049+
$ref: '#/components/schemas/hyperdrive_hyperdrive-integration'
118050+
responses:
118051+
'200':
118052+
description: Create Database Signature Response.
118053+
content:
118054+
application/json:
118055+
schema:
118056+
allOf:
118057+
- $ref: '#/components/schemas/hyperdrive_api-response-single'
118058+
- properties:
118059+
result:
118060+
$ref: '#/components/schemas/hyperdrive_hyperdrive-database-signature-response'
118061+
type: object
118062+
4XX:
118063+
description: Create Database Signature Failure Response.
118064+
content:
118065+
application/json:
118066+
schema:
118067+
$ref: '#/components/schemas/hyperdrive_api-response-common-failure'
118068+
security:
118069+
- api_token: []
118070+
- api_email: []
118071+
api_key: []
118072+
tags:
118073+
- Hyperdrive
118074+
x-api-token-group:
118075+
- Hyperdrive Write
118076+
x-fern-availability: beta
118077+
x-fern-sdk-group-name: hyperdrive
118078+
x-fern-sdk-method-name: create-database-signature
118032118079
/accounts/{account_id}/iam/permission_groups:
118033118080
get:
118034118081
operationId: account-permission-group-list
@@ -379386,6 +379433,35 @@ components:
379386379433
- database
379387379434
- user
379388379435
- password
379436+
hyperdrive_hyperdrive-database-signature-response:
379437+
type: object
379438+
properties:
379439+
account_id:
379440+
description: The Cloudflare account the signature authorizes. This is the identifier the signature is computed over, and is passed to the integration partner's CLI.
379441+
type: string
379442+
example: 023e105f4ecef8ad9ca31a8372d0c353
379443+
maxLength: 32
379444+
x-auditable: true
379445+
signature:
379446+
description: Hex-encoded signature authorizing the database creation.
379447+
type: string
379448+
example: 9f2b8c1d4e6a7b3c5d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c
379449+
timestamp:
379450+
description: Unix timestamp, in seconds, at which the signature was issued. The integration partner uses it to verify the signature and reject stale authorizations.
379451+
type: string
379452+
example: '1700000000'
379453+
x-auditable: true
379454+
required:
379455+
- account_id
379456+
- timestamp
379457+
- signature
379458+
hyperdrive_hyperdrive-integration:
379459+
description: The database integration that bills the new database through Cloudflare.
379460+
type: string
379461+
example: planetScale
379462+
enum:
379463+
- planetScale
379464+
x-auditable: true
379389379465
hyperdrive_hyperdrive-mtls:
379390379466
description: mTLS configuration for the origin connection. Cannot be used with VPC Service origins; TLS must be managed on the VPC Service.
379391379467
type: object

0 commit comments

Comments
 (0)