Create and inspect resources
Creating a resource creates an order. The documented response includes an orderid and may include one or more serviceids.
Create a VPS order
Replace every placeholder with values returned by the product catalog. The configuration example below follows the public API schema; confirm the exact option names for the selected product before automating it.
curl --request POST "$EDGEUNO_API_URL/resources" \
--header "Authorization: Bearer $EDGEUNO_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"pid": 123,
"hostname": "app-01",
"billingcycle": "monthly",
"customfields": [
{"option": "SSH Public Key", "value": "ssh-ed25519 AAAA..."}
],
"configoptions": [
{"option": "Location", "value": "Bogota, Colombia"},
{"option": "CPU", "value": 2},
{"option": "RAM", "value": 4},
{"option": "Disk", "value": 80},
{"option": "Server OS Type", "value": "Ubuntu Server 20.04"}
]
}'
The published schema lists CPU as a configuration option, while its example shows vCPUs. Use the value returned by the selected product and contact support if the accepted option name is unclear.
List and inspect resources
curl --request GET "$EDGEUNO_API_URL/resources?limitstart=0&limitnum=25" \
--header "Authorization: Bearer $EDGEUNO_API_TOKEN"
curl --request GET "$EDGEUNO_API_URL/resources/456" \
--header "Authorization: Bearer $EDGEUNO_API_TOKEN"
You can filter the list by serviceid, pid, domain, or username2.