curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.get( "https://api.e2enetworks.com/myaccount/api/v1/nodes/", params={"project_id": "<PROJECT_ID>", "apikey": "<API_KEY>", "location": "<LOCATION>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/nodes/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", apikey: "<API_KEY>", location: "<LOCATION>" });
const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifier of the project to scope the request to. Required integer project ID.
Example
<PROJECT_ID>API key for authenticating the request
Example
<API_KEY>Specifies the location filter for the node list request.
Example
<LOCATION>Responses
Section titled “Responses”Successful response
object
HTTP status code of the response
object
Node identifier
Node identifier
Current state of the node
Public IP address of the node
The private IPv4 address of the node.
Indicates whether rescue mode is enabled for the node
Indicates whether the node is locked
Identifier of the node’s hardware or service plan
Indicates if the node is protected against accidental deletion
Indicates whether encryption is enabled for the node
object
Status message describing the outcome of the list nodes request.
Example
{ "code": 200, "data": [ { "id": 12345, "name": "C3-8GB-501", "status": "Running", "public_ip_address": "[]", "private_ip_address": "10.2.3.4", "rescue_mode_status": "Disabled", "is_locked": false, "plan": "C3.8GB", "is_accidental_protection": false, "isEncryptionEnabled": false } ], "message": "Success"}Was this page helpful?