No Description

Matt Clark 7884e62cf9 Updating APIExplorer, adding DBFlush endpoint, adding response codes to all methods. 1 month ago
logs 56a56e894f Migrating to LibWebSvc and adding API-Explorer. 3 months ago
resources 7884e62cf9 Updating APIExplorer, adding DBFlush endpoint, adding response codes to all methods. 1 month ago
src 7884e62cf9 Updating APIExplorer, adding DBFlush endpoint, adding response codes to all methods. 1 month ago
.gitignore 67adf8937c Adding targets for listing configs; allow custom server and client headers. 1 month ago
README.md 56a56e894f Migrating to LibWebSvc and adding API-Explorer. 3 months ago
TASKS.md b7df53c73d Adding more flags and minor changes. 1 year ago
dynReload.sh 53d58901ee Simplifying db logic; reducing number of unique queries. Adding dynReload script. 1 month ago
pom.xml ae7dcf6c35 Adding update endpoints for aliases, assing support for MySQL, updating API-Explorer, various other changes. 1 month ago
release.sh ae7dcf6c35 Adding update endpoints for aliases, assing support for MySQL, updating API-Explorer, various other changes. 1 month 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

{}