curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/parameter-group/{pg_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/gpu/dbaas/parameter-group/{pg_id}/", params={"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/gpu/dbaas/parameter-group/{pg_id}/");url.search = new URLSearchParams({ 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());Returns one parameter group: the values it changes, and the full parameter list of its template with the group’s values in place. Works only on a group you created in the project; any other ID returns 404. Needs the Read permission for DBaaS.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Parameter group ID
Query Parameters
Section titled “Query Parameters”Project ID
Active IAM ID (To access contact person account) Find your Active IAM ID here
Location
Responses
Section titled “Responses”The parameter group
object
object
Engine and version the group is for.
The values this group changes, as parameter name to value. Parameters not listed keep the engine default.
object
Every parameter of the template; parameterValue is the group’s value where the group changes it, otherwise the default.
object
The engine default. In a parameter group’s template_parameters, the group’s own value where it changes this parameter.
For example integer, real, bool, enum or string.
A range such as 1-262143 for numbers, or comma-separated choices for enum.
false for a parameter that cannot be changed.
The category the parameter belongs to.
The databases that use this group.
object
object
Example
{ "code": 200, "message": "Success", "data": { "id": 17, "name": "high-connections", "description": "More connections for the API workers", "family": "postgresql-16", "template_id": 3, "parameters": { "max_connections": "200", "work_mem": "8MB" }, "template_parameters": [ { "parameterName": "max_connections", "parameterValue": "100", "dataType": "integer", "allowedValues": "1-262143", "description": "Sets the maximum number of concurrent connections.", "isModifiable": true, "applyType": "Connections / Authentication" } ], "is_attached": true, "attached_databases": [ { "id": 128, "name": "orders-db" } ] }, "errors": {}}project_id is missing or not a number.
object
object
Example
{ "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid"}The caller lacks the permission the call needs on the project, or the region is not allowed.
object
object
Example
{ "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project."}No parameter group with that ID among yours in the project.
object
object
Example
{ "code": 404, "message": "Bad Request", "data": {}, "errors": "Parameter group not found."}