From c36a47888d050cbed38bd28beda894b331a813df Mon Sep 17 00:00:00 2001 From: "context7[bot]" <236830434+context7[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 02:03:51 +0000 Subject: [PATCH] docs: add missing Database fields to Developer API schema --- devops/developer-api/openapi.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/devops/developer-api/openapi.yaml b/devops/developer-api/openapi.yaml index b86b8de91..07732b97f 100644 --- a/devops/developer-api/openapi.yaml +++ b/devops/developer-api/openapi.yaml @@ -1745,6 +1745,10 @@ components: type: string description: Name of the database example: MyRedis + database_type: + type: string + description: Type of the database, either Regional or Global + example: Regional region: type: string description: The region where database is hosted @@ -1772,10 +1776,24 @@ components: type: string description: Endpoint identifier or hostname of the database (may be a slug like "beloved-stallion-58500" or a full host) example: beloved-stallion-58500 + rest_token: + type: string + description: REST token for the database. Pass the `credentials=hide` query parameter to Get Database to omit it from the response. + read_only_rest_token: + type: string + description: Read-only REST token for the database. Pass the `credentials=hide` query parameter to Get Database to omit it from the response. + password: + type: string + description: Password of the database. Pass the `credentials=hide` query parameter to Get Database to omit it from the response. tls: type: boolean description: TLS/SSL is enabled or not example: true + db_daily_bandwidth_limit: + type: integer + description: Daily bandwidth limit for the database (in bytes) + format: int64 + example: 10737418240 db_max_clients: type: integer description: Max number of concurrent clients can be opened on this database currently @@ -1934,6 +1952,10 @@ components: type: string description: Owner identifier of the database (may be email or marketplace-scoped email) example: "example@upstash.com" + user_email: + type: string + description: User email for the database + example: "example@upstash.com" daily_backup_enabled: type: boolean description: Whether daily backup is enabled