No Description

Matt Clark b448b697db Changing timeouts on all API Explorer, updating dependencies. 5 months ago
auth 48c8c96f4f Adding authentication to endpoints. 5 months ago
logs 56a56e894f Migrating to LibWebSvc and adding API-Explorer. 10 months ago
resources b448b697db Changing timeouts on all API Explorer, updating dependencies. 5 months ago
src b448b697db Changing timeouts on all API Explorer, updating dependencies. 5 months ago
.gitignore 4574d5116d Adding Config endpoints and others. 6 months ago
README.md 56a56e894f Migrating to LibWebSvc and adding API-Explorer. 10 months ago
TASKS.md b7df53c73d Adding more flags and minor changes. 2 years ago
dynReload.sh 2ac47de15c Updates to, and integrate with dynReload script. 6 months ago
pom.xml dde30273a4 Minor changes. 6 months ago
release.sh ae7dcf6c35 Adding update endpoints for aliases, assing support for MySQL, updating API-Explorer, various other changes. 8 months ago

README.md

WebCQL

Web Config Query Language

Using SQL database storage for managing web configuration of BIND DNS and Apache configuration files. Apache config files are generated for both proxy and client nodes depending on the options selected.

Customer

Endpoints related to customer accounts.


/customer/create/ POST

Used to create a new customer record.

?customer=test

/customer/details/ GET

Used to fetch details about an existing customer record.

?customer=test

/customer/domains/ GET

Used to fetch all domains owned by a customer.

?customer=test

/customer/list/ GET

Used to fetch all known customers.


Domain

Endpoints related to hosted domains.


/domain/create/ POST

Used to create a new domain record.

?domain=example.com&owner=test&created=07/04/20&expires=07/04/30

/domain/details/ GET

Used to fetch details about an existing domain.

?domain=example.com

/domain/list/ GET

Used to fetch all known domains.


DNS

Endpoints related to DNS records.


/dns/create/ POST

Used to create a new DNS record.

?domain=example.com&name=www&type=A&data=1.2.3.4

Optional
 &ttl=900
 &priority=10
 &comment=Optional%20comment.

/dns/details/ GET

Used to fetch record details for an existing domain.

?domain=example.com

/dns/generate/ POST

Used to generate DNS config files.


/dns/remove/ POST

Used to remove an existing DNS record.

?domain=example.com&name=www&data=1.2.3.4

/dns/update/ GET

Used to update the address of an exiting DNS record. Accepts the NoIP DDNS client protocol.

?hostname=dyn.example.com&myip=1.2.3.4

/dns/soa/ POST

Used to create / update the SOA record for a given domain.

?domain=example.com&nameserver=ns1.example.com.&admin=admin.example.com.

Optional
 &refresh=900
 &retry=900
 &expire=10800
 &ttl=900

HTTP

Endpoints related to HTTP config files.


/http/create/ POST

Used to create a new host.

?

/http/details/ GET

Used to fetch details about an existing domain.

?

/http/generate/ POST

Used to generate HTTP config files.


/http/remove/ POST

Used to remove an existing host.

?

Proxy

Endpoints related to Proxy config files.


/proxy/create/ POST

Used to create a new proxy host.

?

/proxy/details/ GET

Used to fetch details about an existing proxy host.

?domain=example.com

/proxy/generate/ POST

Used to generate proxy config files.


/proxy/remove/ POST

Used to remove an existing proxy host.

?

Balancers

/proxy/balancer/create/ POST

{}

/proxy/balancer/details/ GET

{}

/proxy/balancer/list/ GET

{}

/proxy/balaner/remove/ POST

{}