Control Panel — API documentation

App Servers

App server object Read-only

App server represents servers where apps may reside. The object contains a server ID and hostname.

Descriptions

id Integer Autogenerated

Unique identifier for this object.

Sample value:N/A

hostname String Autogenerated

Full hostname of the server

Default:

Sample value:US-IAD5-01.ScaleEngine.net

ipv4 String Autogenerated

Primary IPv4 address of the server

Sample value:1.2.3.4

ipv6 String Autogenerated

Primary IPv6 address of the server

Sample value:abcd:ef12::3456:7890

option:related String

Include related object in results

Default:none

Sample value:apps

hostname String Autogenerated

Full hostname of the server

Sample value:US-IAD5-01.ScaleEngine.net

ipv4 String Autogenerated

Primary IPv4 address of the server

Sample value:1.2.3.4

ipv6 String Autogenerated

Primary IPv6 address of the server

Sample value:abcd:ef12::3456:7890

None

Related endpoints

Apps

Servers used for app origin

Examples

Get the App_servers object with id .

Example URL

https://api.scaleengine.net/dev/v2/app_servers/

Example cURL

curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/dev/v2/app_servers/

Example request body

None

Example response data

{
    "id": "N/A",
    "hostname": "US-IAD5-01.ScaleEngine.net",
    "ipv4": "1.2.3.4",
    "ipv6": "abcd:ef12::3456:7890"
}

This object is read-only and cannot be created.

This object is read-only and cannot be updated.

This object is read-only and cannot be deleted.

Errors

ACCESS_VIOLATION

You do not have access to modify this field