Domains

/api/domains

GET

Get a list of all the domains

POST

Create a new domain

/api/domains/<id>

Domain object

Attribute Type Description
aliases List of Domain alias object  
domain_controller object-domain-controller  
htpasswd string name of the htpasswd to use
id int Domain ID
slug string slug
ssl_key string name of the SSL key to use
upstreams List of Domain upstream object  
uri string Main uri

Domain alias object

Attribute Type Description
id int Domain alias ID
uri string Alias uri

Domain upstream object

id int Upstream ID ip string Backend IP address port string HTTP port port_ssl string HTTPS port state string ‘up’ ‘down’ or ‘backup’