custom domains
List Custom Domains
List custom API domains and their certificate and DNS state.
GET
/
api
/
custom-domains
List Custom Domains
curl --request GET \
--url https://api.aixy-gateway.com/api/custom-domains \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/custom-domains"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/custom-domains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"hostname": "<string>",
"status": "<string>",
"certificate_status": "<string>",
"validation_record": {
"type": "<string>",
"name": "<string>",
"value": "<string>"
},
"routing_record": {
"type": "<string>",
"name": "<string>",
"value": "<string>"
},
"last_error_code": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"object": "custom_domain"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}⌘I
List Custom Domains
curl --request GET \
--url https://api.aixy-gateway.com/api/custom-domains \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/custom-domains"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/custom-domains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"hostname": "<string>",
"status": "<string>",
"certificate_status": "<string>",
"validation_record": {
"type": "<string>",
"name": "<string>",
"value": "<string>"
},
"routing_record": {
"type": "<string>",
"name": "<string>",
"value": "<string>"
},
"last_error_code": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"object": "custom_domain"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}