Skip to content

Commit 41a63d1

Browse files
authored
Merge pull request #1794 from redis/rc_api_sync
update rc openapi spec
2 parents e5632d9 + c59627b commit 41a63d1

File tree

1 file changed

+1
-118
lines changed

1 file changed

+1
-118
lines changed

content/operate/rc/api/api-reference/openapi.json

Lines changed: 1 addition & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@
4141
"description": "All Pro subscription connectivity operations.",
4242
"x-order": "11"
4343
},
44-
{
45-
"name": "Subscriptions - Dedicated",
46-
"description": "All Dedicated subscription operations.",
47-
"x-order": "11"
48-
},
4944
{
5045
"name": "Databases - Pro",
5146
"description": "All Pro database operations.",
@@ -3082,7 +3077,7 @@
30823077
],
30833078
"summary": "Get a single Essentials subscription",
30843079
"description": "Gets information on the specified Essentials subscription.",
3085-
"operationId": "getSubscriptionById_2",
3080+
"operationId": "getSubscriptionById_1",
30863081
"parameters": [
30873082
{
30883083
"name": "subscriptionId",
@@ -8582,64 +8577,6 @@
85828577
}
85838578
}
85848579
},
8585-
"/subscriptions/dedicated/{subscriptionId}": {
8586-
"get": {
8587-
"tags": [
8588-
"Subscriptions - Dedicated"
8589-
],
8590-
"summary": "Get a single dedicated subscription",
8591-
"description": "Gets information on the specified dedicated subscription.",
8592-
"operationId": "getSubscriptionById_1",
8593-
"parameters": [
8594-
{
8595-
"name": "subscriptionId",
8596-
"in": "path",
8597-
"description": "Subscription ID.",
8598-
"required": true,
8599-
"schema": {
8600-
"type": "integer",
8601-
"format": "int32"
8602-
}
8603-
}
8604-
],
8605-
"responses": {
8606-
"400": {
8607-
"description": "Bad Request - The server cannot process the request due to something that is perceived to be a client error"
8608-
},
8609-
"412": {
8610-
"description": "Precondition Failed - Feature flag for this flow is off"
8611-
},
8612-
"200": {
8613-
"description": "OK",
8614-
"content": {
8615-
"application/json": {
8616-
"schema": {
8617-
"$ref": "#/components/schemas/DedicatedSubscription"
8618-
}
8619-
}
8620-
}
8621-
},
8622-
"401": {
8623-
"description": "Unauthorized - Authentication failed for requested resource"
8624-
},
8625-
"403": {
8626-
"description": "Forbidden - Not allowed to access requested resource (primarily due to client source IP API Key restrictions)"
8627-
},
8628-
"404": {
8629-
"description": "Not Found - The resource you were trying to reach was not found or does not exist"
8630-
},
8631-
"429": {
8632-
"description": "Too Many Requests - Too many resources are concurrently created / updated / deleted in the account. Please re-submit API requests after resource changes are completed)"
8633-
},
8634-
"500": {
8635-
"description": "Internal system error - If this error persists, please contact customer support"
8636-
},
8637-
"503": {
8638-
"description": "Service Unavailable - Server is temporarily unable to handle the request, please try again later. If this error persists, please contact customer support "
8639-
}
8640-
}
8641-
}
8642-
},
86438580
"/session-logs": {
86448581
"get": {
86458582
"tags": [
@@ -13633,60 +13570,6 @@
1363313570
},
1363413571
"description": "Database tag"
1363513572
},
13636-
"DedicatedSubscription": {
13637-
"type": "object",
13638-
"properties": {
13639-
"id": {
13640-
"type": "integer",
13641-
"description": "Unique identifier for the subscription",
13642-
"format": "int32"
13643-
},
13644-
"name": {
13645-
"type": "string",
13646-
"description": "Name of the subscription"
13647-
},
13648-
"paymentMethodId": {
13649-
"type": "integer",
13650-
"description": "Payment method identifier",
13651-
"format": "int32"
13652-
},
13653-
"status": {
13654-
"type": "string",
13655-
"description": "Current status of the subscription"
13656-
},
13657-
"memoryStorage": {
13658-
"type": "string",
13659-
"description": "Memory storage configuration for the subscription",
13660-
"enum": [
13661-
"ram",
13662-
"ram-and-flash"
13663-
]
13664-
},
13665-
"numberOfDatabases": {
13666-
"type": "integer",
13667-
"description": "Number of databases in the subscription",
13668-
"format": "int32"
13669-
},
13670-
"paymentMethodType": {
13671-
"type": "string",
13672-
"description": "Type of payment method used",
13673-
"enum": [
13674-
"credit-card",
13675-
"marketplace"
13676-
]
13677-
},
13678-
"links": {
13679-
"type": "array",
13680-
"items": {
13681-
"type": "object",
13682-
"additionalProperties": {
13683-
"type": "object"
13684-
}
13685-
}
13686-
}
13687-
},
13688-
"description": "Redis Dedicated Subscription information"
13689-
},
1369013573
"SubscriptionSpec": {
1369113574
"required": [
1369213575
"regions"

0 commit comments

Comments
 (0)