|
41 | 41 | "description": "All Pro subscription connectivity operations.",
|
42 | 42 | "x-order": "11"
|
43 | 43 | },
|
| 44 | + { |
| 45 | + "name": "Subscriptions - Dedicated", |
| 46 | + "description": "All Dedicated subscription operations.", |
| 47 | + "x-order": "11" |
| 48 | + }, |
44 | 49 | {
|
45 | 50 | "name": "Databases - Pro",
|
46 | 51 | "description": "All Pro database operations.",
|
|
3077 | 3082 | ],
|
3078 | 3083 | "summary": "Get a single Essentials subscription",
|
3079 | 3084 | "description": "Gets information on the specified Essentials subscription.",
|
3080 |
| - "operationId": "getSubscriptionById_1", |
| 3085 | + "operationId": "getSubscriptionById_2", |
3081 | 3086 | "parameters": [
|
3082 | 3087 | {
|
3083 | 3088 | "name": "subscriptionId",
|
|
6566 | 6571 | }
|
6567 | 6572 | }
|
6568 | 6573 | },
|
| 6574 | + "/subscriptions/dedicated": { |
| 6575 | + "post": { |
| 6576 | + "tags": [ |
| 6577 | + "Subscriptions - Dedicated" |
| 6578 | + ], |
| 6579 | + "summary": "Create Dedicated subscription", |
| 6580 | + "description": "Creates a new Redis Cloud Dedicated subscription.", |
| 6581 | + "operationId": "createSubscription_1", |
| 6582 | + "requestBody": { |
| 6583 | + "content": { |
| 6584 | + "application/json": { |
| 6585 | + "schema": { |
| 6586 | + "$ref": "#/components/schemas/SubscriptionCreateRequest" |
| 6587 | + } |
| 6588 | + } |
| 6589 | + }, |
| 6590 | + "required": true |
| 6591 | + }, |
| 6592 | + "responses": { |
| 6593 | + "400": { |
| 6594 | + "description": "Bad Request - The server cannot process the request due to something that is perceived to be a client error" |
| 6595 | + }, |
| 6596 | + "412": { |
| 6597 | + "description": "Precondition Failed - Feature flag for this flow is off" |
| 6598 | + }, |
| 6599 | + "202": { |
| 6600 | + "description": "Accepted", |
| 6601 | + "content": { |
| 6602 | + "application/json": { |
| 6603 | + "schema": { |
| 6604 | + "$ref": "#/components/schemas/TaskStateUpdate" |
| 6605 | + } |
| 6606 | + } |
| 6607 | + } |
| 6608 | + }, |
| 6609 | + "401": { |
| 6610 | + "description": "Unauthorized - Authentication failed for requested resource" |
| 6611 | + }, |
| 6612 | + "403": { |
| 6613 | + "description": "Forbidden - Not allowed to create requested resource (primarily due to not active resource)" |
| 6614 | + }, |
| 6615 | + "404": { |
| 6616 | + "description": "Not Found - The resource you were trying to reach was not found or does not exist" |
| 6617 | + }, |
| 6618 | + "408": { |
| 6619 | + "description": "Request Timeout - The server didn't receive a complete request message within the server's allotted timeout period" |
| 6620 | + }, |
| 6621 | + "409": { |
| 6622 | + "description": "Conflict - request could not be processed because of a conflict (primarily due to another resource that exist with the new name" |
| 6623 | + }, |
| 6624 | + "422": { |
| 6625 | + "description": "Unprocessable Entity - The server understands the request, and the syntax of the request is correct, but it was unable to process the contained instructions" |
| 6626 | + }, |
| 6627 | + "429": { |
| 6628 | + "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)" |
| 6629 | + }, |
| 6630 | + "500": { |
| 6631 | + "description": "Internal system error - If this error persists, please contact customer support" |
| 6632 | + }, |
| 6633 | + "503": { |
| 6634 | + "description": "Service Unavailable - Server is temporarily unable to handle the request, please try again later. If this error persists, please contact customer support " |
| 6635 | + } |
| 6636 | + } |
| 6637 | + } |
| 6638 | + }, |
6569 | 6639 | "/fixed/subscriptions": {
|
6570 | 6640 | "get": {
|
6571 | 6641 | "tags": [
|
|
6617 | 6687 | ],
|
6618 | 6688 | "summary": "Create Essentials subscription",
|
6619 | 6689 | "description": "Creates a new Essentials subscription.",
|
6620 |
| - "operationId": "createSubscription_1", |
| 6690 | + "operationId": "createSubscription_2", |
6621 | 6691 | "requestBody": {
|
6622 | 6692 | "content": {
|
6623 | 6693 | "application/json": {
|
|
8577 | 8647 | }
|
8578 | 8648 | }
|
8579 | 8649 | },
|
| 8650 | + "/subscriptions/dedicated/{subscriptionId}": { |
| 8651 | + "get": { |
| 8652 | + "tags": [ |
| 8653 | + "Subscriptions - Dedicated" |
| 8654 | + ], |
| 8655 | + "summary": "Get a single dedicated subscription", |
| 8656 | + "description": "Gets information on the specified dedicated subscription.", |
| 8657 | + "operationId": "getSubscriptionById_1", |
| 8658 | + "parameters": [ |
| 8659 | + { |
| 8660 | + "name": "subscriptionId", |
| 8661 | + "in": "path", |
| 8662 | + "description": "Subscription ID.", |
| 8663 | + "required": true, |
| 8664 | + "schema": { |
| 8665 | + "type": "integer", |
| 8666 | + "format": "int32" |
| 8667 | + } |
| 8668 | + } |
| 8669 | + ], |
| 8670 | + "responses": { |
| 8671 | + "400": { |
| 8672 | + "description": "Bad Request - The server cannot process the request due to something that is perceived to be a client error" |
| 8673 | + }, |
| 8674 | + "412": { |
| 8675 | + "description": "Precondition Failed - Feature flag for this flow is off" |
| 8676 | + }, |
| 8677 | + "200": { |
| 8678 | + "description": "OK", |
| 8679 | + "content": { |
| 8680 | + "application/json": { |
| 8681 | + "schema": { |
| 8682 | + "$ref": "#/components/schemas/DedicatedSubscription" |
| 8683 | + } |
| 8684 | + } |
| 8685 | + } |
| 8686 | + }, |
| 8687 | + "401": { |
| 8688 | + "description": "Unauthorized - Authentication failed for requested resource" |
| 8689 | + }, |
| 8690 | + "403": { |
| 8691 | + "description": "Forbidden - Not allowed to access requested resource (primarily due to client source IP API Key restrictions)" |
| 8692 | + }, |
| 8693 | + "404": { |
| 8694 | + "description": "Not Found - The resource you were trying to reach was not found or does not exist" |
| 8695 | + }, |
| 8696 | + "429": { |
| 8697 | + "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)" |
| 8698 | + }, |
| 8699 | + "500": { |
| 8700 | + "description": "Internal system error - If this error persists, please contact customer support" |
| 8701 | + }, |
| 8702 | + "503": { |
| 8703 | + "description": "Service Unavailable - Server is temporarily unable to handle the request, please try again later. If this error persists, please contact customer support " |
| 8704 | + } |
| 8705 | + } |
| 8706 | + } |
| 8707 | + }, |
8580 | 8708 | "/session-logs": {
|
8581 | 8709 | "get": {
|
8582 | 8710 | "tags": [
|
|
10161 | 10289 | "description": "(Pay-as-you-go subscriptions only) Optional. Support Redis [OSS Cluster API](https://redis.io/docs/latest/operate/rc/databases/configuration/clustering/#oss-cluster-api). Default: 'false'",
|
10162 | 10290 | "example": true
|
10163 | 10291 | },
|
| 10292 | + "redisVersion": { |
| 10293 | + "type": "string", |
| 10294 | + "description": "Optional. If specified, redisVersion defines the Redis database version. If omitted, the Redis version will be set to the default version. (available in 'GET /fixed/redis-versions')", |
| 10295 | + "example": "7.4" |
| 10296 | + }, |
10164 | 10297 | "respVersion": {
|
10165 | 10298 | "type": "string",
|
10166 | 10299 | "description": "Optional. Redis Serialization Protocol version. Must be compatible with Redis version.",
|
|
13553 | 13686 | },
|
13554 | 13687 | "description": "Database tag"
|
13555 | 13688 | },
|
| 13689 | + "DedicatedSubscription": { |
| 13690 | + "type": "object", |
| 13691 | + "properties": { |
| 13692 | + "id": { |
| 13693 | + "type": "integer", |
| 13694 | + "description": "Unique identifier for the subscription", |
| 13695 | + "format": "int32" |
| 13696 | + }, |
| 13697 | + "name": { |
| 13698 | + "type": "string", |
| 13699 | + "description": "Name of the subscription" |
| 13700 | + }, |
| 13701 | + "paymentMethodId": { |
| 13702 | + "type": "integer", |
| 13703 | + "description": "Payment method identifier", |
| 13704 | + "format": "int32" |
| 13705 | + }, |
| 13706 | + "status": { |
| 13707 | + "type": "string", |
| 13708 | + "description": "Current status of the subscription" |
| 13709 | + }, |
| 13710 | + "memoryStorage": { |
| 13711 | + "type": "string", |
| 13712 | + "description": "Memory storage configuration for the subscription", |
| 13713 | + "enum": [ |
| 13714 | + "ram", |
| 13715 | + "ram-and-flash" |
| 13716 | + ] |
| 13717 | + }, |
| 13718 | + "numberOfDatabases": { |
| 13719 | + "type": "integer", |
| 13720 | + "description": "Number of databases in the subscription", |
| 13721 | + "format": "int32" |
| 13722 | + }, |
| 13723 | + "paymentMethodType": { |
| 13724 | + "type": "string", |
| 13725 | + "description": "Type of payment method used", |
| 13726 | + "enum": [ |
| 13727 | + "credit-card", |
| 13728 | + "marketplace" |
| 13729 | + ] |
| 13730 | + }, |
| 13731 | + "links": { |
| 13732 | + "type": "array", |
| 13733 | + "items": { |
| 13734 | + "type": "object", |
| 13735 | + "additionalProperties": { |
| 13736 | + "type": "object" |
| 13737 | + } |
| 13738 | + } |
| 13739 | + } |
| 13740 | + }, |
| 13741 | + "description": "Redis Dedicated Subscription information" |
| 13742 | + }, |
13556 | 13743 | "SubscriptionSpec": {
|
13557 | 13744 | "required": [
|
13558 | 13745 | "regions"
|
|
14433 | 14620 | "DATABASE_AVERAGE_ITEM_SIZE_INVALID_VALUE",
|
14434 | 14621 | "DATABASE_REDIS_VERSION_IS_NOT_SUPPORTED",
|
14435 | 14622 | "DATABASE_REDIS_VERSION_IS_NOT_SUPPORTED_FOR_MEMCACHED",
|
| 14623 | + "DATABASE_REDIS_VERSION_IS_REQUIRED", |
14436 | 14624 | "DATABASE_REDIS_VERSION_INVALID_VALUE",
|
14437 | 14625 | "VPC_PEERING_NOT_ACTIVE",
|
14438 | 14626 | "VPC_PEERING_GENERAL_ERROR",
|
|
15234 | 15422 | "readOnly": true
|
15235 | 15423 | }
|
15236 | 15424 | },
|
15237 |
| - "description": "Subscription create request" |
| 15425 | + "description": "Dedicated Subscription create request" |
15238 | 15426 | },
|
15239 | 15427 | "RedisVersions": {
|
15240 | 15428 | "type": "object",
|
|
0 commit comments