HydraCore
API by router

Shared hosting internal

GET
/internal/v1/instances/{instance_id}/customer-config

Path Parameters

instance_id*Instance Id
Formatuuid

Query Parameters

customer_id*Customer Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
config*
customer_id*Customer Id
Formatuuid
instance_id*Instance Id
Formatuuid
Example Request
curl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/customer-config?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "config": {},  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",  "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366"}
GET
/internal/v1/instances/{instance_id}/resolve-domain

Path Parameters

instance_id*Instance Id
Formatuuid

Query Parameters

hostname*Hostname

Response Body

Successful Response

application/json
  1. response
customer_email?string|null
customer_id*Customer Id
Formatuuid
display_name?string|null
Example Request
curl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/resolve-domain?hostname=string'
Example Response
{  "customer_email": "string",  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",  "display_name": "string"}