GET
/api/v1/rds/plans/
curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/rds/plans/?software_id=<SOFTWARE_ID>&project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.get( "https://api.e2enetworks.com/myaccount/api/v1/rds/plans/", params={"software_id": "<SOFTWARE_ID>", "project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/rds/plans/");url.search = new URLSearchParams({ software_id: "<SOFTWARE_ID>", project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Pass the software ID of the engine and version you want; the answer lists its plans, each with the template ID that the create call takes.
All DBaaS Plans
| DBaaS Name | Software ID |
|---|---|
| MySQL 8.0 | 4 |
| MariaDB 10.6 | 11 |
| MariaDB 10.11 | 12 |
| PostgreSQL 15.0 | 10 |
| PostgreSQL 16.0 | 19 |
| PostgreSQL 17.0 | 20 |
| PostgreSQL 18.0 | 21 |
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”software_id
required
integer
Software_id
project_id
required
integer
Project ID Find your project id here
location
required
string
Deployment region for the resource. Accepted values: Delhi, Chennai.
Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.
Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
code
integer
data
object
template_plans
Array<object>
object
database_engines
Array<object>
object
id
integer
name
string
version
string
engine
string
description
string
errors
object
message
string
Example
{ "data": { "database_engines": [ { "id": 1, "name": "MariaDB", "version": "10.4", "engine": "MariaDB", "description": null } ] }}