Skip to content

Conversation

alitariksahin
Copy link
Contributor

  • Create openapi specs for developer api
  • remove mdx files, since docs.json will directly read its content from openapi
  • specify x-mint attribute to provide the urls so that the urls will stay the same, and if there is any reference to these urls they will keep working.

@alitariksahin alitariksahin self-assigned this Aug 28, 2025
Copy link

linear bot commented Aug 28, 2025

Comment on lines +1082 to +1085
enum:
- Free
- Pay as You Go
- Enterprise
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am guessing this isn't true

I remember that you mentioned the API being out of date (it probably is).

Can you go over the types once again? While going over them, it would be great if you can verify against the API or check the types in console

Comment on lines +1104 to +1106
enum:
- active
- deleted
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not correct too. You can check options from console.

Comment on lines +1171 to +1176
cluster_id:
type: string
description: Cluster ID of the database
pool_id:
type: string
description: Pool ID of the database
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are removed it seems

Comment on lines +1204 to +1210
consistent:
type: boolean
description: Strong consistency mode is enabled
reserved_per_region_price:
type: integer
description: Reserved price per region for enterprise plans
format: int64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consistent isn't returned. reserved_per_region_price is returned but I don't know what it is. Asked here

Comment on lines +1264 to +1266
description: Region of the database. Only valid option is 'global'.
enum:
- global
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not true for gcp global

Comment on lines +1273 to +1280
- us-east-1
- us-west-1
- us-west-2
- eu-west-1
- eu-central-1
- ap-southeast-1
- ap-southeast-2
- sa-east-1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not the whole list

Specifies the fixed plan type for the database.
If omitted, the database defaults to either the pay-as-you-go or free plan, based on the account type.
enum:
- payg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be free

type: string
description: The new plan for the database
enum:
- payg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also missing free. Is there no way to define these enums in somewhere common and use it everywhere else?

Comment on lines +1366 to +1377
produce_throughput:
type: array
nullable: true
items:
$ref: "#/components/schemas/TimeSeriesData"
description: Write throughput over time
consume_throughput:
type: array
nullable: true
items:
$ref: "#/components/schemas/TimeSeriesData"
description: Read throughput over time
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's just remove the ones listed here from the docs

https://upstash.slack.com/archives/C099375LDKM/p1756716293035659

Comment on lines +1540 to +1543
state:
type: string
description: State of the backup
example: "completed"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the enum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants