Other APIs (proxy, ACME, avatar, install)¶
proxysend¶
- interface address:
/proxysend
- HTTP request method:
POST
- request params:
See the implementation (proxy sending request parameters)
- response code:
200: proxy result
proxydomain page¶
- interface address:
/proxydomain
- HTTP request method:
GET
- request params:
- response code:
200: proxy domain configuration page HTML
acme create certificate¶
- interface address:
/acme/create
- HTTP request method:
POST
- request params:
See the implementation (domain, etc., used to apply for a certificate)
- response code:
200: creation result
Note: to request an ACME certificate, CertDir, AdminEmail, etc. must be configured.
acme renew certificate¶
- interface address:
/acme/renew
- HTTP request method:
POST
- request params:
See the implementation
- response code:
200: renewal result
gravatar¶
- interface address:
/gravatar/:id
/defaultgravatar
- HTTP request method:
GET
- request params:
id (path): user/identifier ID (/gravatar/:id)
- response code:
200: avatar image or default avatar redirect
install script¶
- interface address:
/install
- HTTP request method:
GET
- request params:
- response code:
200: returns the text content of static/install/init.sh (Content-Type: text/plain)
ACME HTTP-01 challenge¶
- interface address:
/.well-known/acme-challenge/:token
- HTTP request method:
GET
- request params:
token (path): ACME challenge token
- response code:
200: returns the key authorization string
404: invalid token