Endpoints
get all pending/done job list
ok/error
GET /api/accounts/jobs/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get detail for a specific job
ok/error
GET /api/accounts/job/?account=text&uuid=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get single account info
ok/error
GET /api/account/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get projects for an account
ok/error
GET /api/projects/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
update project info
ok/error
PATCH /api/projects/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 103
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"sshPassword": "text",
"ftpPassword": "text"
}
ok/error
{
"message": "text",
"status": "text"
}
get sso accounts
ok/error
GET /api/accounts/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
update account settings, limits, status
/^[\p{IsAlnum}\p{IsPunct}\p{IsSpace}]{1,64}$/u
ok/error
PATCH /api/accounts/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"account": "text",
"enabled": true,
"delete": true,
"name": "text"
}
ok/error
{
"message": "text",
"status": "text"
}
get dashboard for all projects in the account
ok/error
GET /api/accounts/dashboard/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get status of backup jobs
ok/error
GET /api/accounts/backups/jobs/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
queue new Backup Restore Job
ok/error
POST /api/accounts/backups/restore/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
ok/error
{
"message": "text",
"status": "text"
}
get backup list
ok/error
GET /api/accounts/backups/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
browse backup contents
ok/error
GET /api/accounts/backups/browse/?account=text&date=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
download backed up file
ok/error
GET /api/accounts/backups/download/?account=text&date=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get db backup list
ok/error
GET /api/mysql/backups/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get db table backup list
ok/error
GET /api/mysql/backups/tables/?account=text&db=text&date=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
download backed up mysql database
^\d{10}$
ok/error
GET /api/mysql/backups/downloadDb/?account=text&date=text&db=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
download backed up mysql table
^\d{10}$
ok/error
GET /api/mysql/backups/downloadTable/?account=text&date=text&db=text&table=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
update mail server in/active status and master mail server for a domain
ok/error
PATCH /api/emails/mailServer/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"account": "text",
"domain": "text",
"isActive": true,
"isMain": true
}
ok/error
{
"message": "text",
"status": "text"
}
get importer status
ok/error
GET /api/emails/syncIMAP/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
queue new e-mail importer job
ok/error
POST /api/emails/syncIMAP/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
ok/error
{
"message": "text",
"status": "text"
}
test imap login credentiales
ok/error
GET /api/emails/testIMAP/?username=text&password=text&host=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get account email service info
ok/error
GET /api/emails/dashboard/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get account cloudsmtp info
ok/error
GET /api/emails/cloudsmtp/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get account sites info
ok/error
GET /api/sites/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
update site config
ok/error
PATCH /api/sites/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
ok/error
{
"message": "text",
"status": "text"
}
get list of available reports
ok/error
GET /api/sites/analyticsReports?site=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get single report
^\d{4}-\d{2}$
ok/error
GET /api/sites/analyticsReport?site=text&report=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get a list of WHMCS products linked to this account
ok/error
GET /api/products/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get account invoices from WHMCS
ok/error
GET /api/invoices/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get individual invoice from WHMCS
ok/error
GET /api/invoices/{invoice}/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get individual invoice from WHMCS
ok/error
GET /api/invoices/{invoice}.pdf?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get WHMCS logged in redirect URL for sso+account combination
ok/error
GET /api/whmcs/redirectTo?account=text&goToURL=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get last Lighhouse report list
ok/error
GET /api/sites/lightHouse?site=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get last Lighhouse running jobs
ok/error
GET /api/sites/lightHouse/jobs?site=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
get last Lighhouse report
ok/error
GET /api/sites/lightHouse/report?site=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
queue new Lighhouse report
ok/error
POST /api/sites/lightHouse/report HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
ok/error
{
"message": "text",
"status": "text"
}
resets default subdomains & dns records
ok/error
GET /api/domains/reset/?account=text&domain=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
returns DNS Domain info
ok/error
GET /api/domains/?account=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
create a new Domain name for the account
ok/error
POST /api/domains/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"account": "text",
"domain": "text"
}
ok/error
{
"message": "text",
"status": "text"
}
delete Domain name for the account
ok/error
DELETE /api/domains/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"account": "text",
"domain": "text"
}
ok/error
{
"message": "text",
"status": "text"
}
refresh dns delegation, a and acme info for domain
ok/error
GET /api/dns/delegation/?account=text&domain=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
emit or renew SSL cert for domain
ok/error
POST /api/domains/ssl/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"account": "text",
"domain": "text"
}
ok/error
{
"message": "text",
"status": "text"
}
revoke SSL certificate
ok/error
DELETE /api/domains/ssl/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"account": "text",
"domain": "text"
}
ok/error
{
"message": "text",
"status": "text"
}
update RR content
^A|AAAA|CNAME|TXT|SPF|MX|SRV$
ok/error
PATCH /api/domains/dns/?domain=text&uuid=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"type": "text",
"data": "text",
"ttl": 1
}
ok/error
{
"message": "text",
"status": "text"
}
returns social network login connections
login connections list
GET /api/users/connections/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
login connections list
{
"message": "text",
"status": "text"
}
returns logged in user sessions
session list
GET /api/users/sessions/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
session list
{
"message": "text",
"status": "text"
}
delete a session token
ok/error
DELETE /api/users/sessions/?token=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
returns logged in user information
user info
GET /api/users/me/ HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
user info
{
"email": "[email protected]",
"name": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "text",
"createdAt": "text",
"bio": "text",
"slug": "text"
}
only patched info objects
PATCH /api/users/me/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"email": "[email protected]",
"bio": "text",
"slug": "text",
"name": "text"
}
only patched info objects
{
"email": "[email protected]",
"name": "text",
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "text",
"createdAt": "text",
"bio": "text",
"slug": "text"
}
Generate a session token for an existing user via a OTP sent by mail.
JWT encoded one time password
a plain password
Url to redirect user after successful auth
ok/error
GET /api/users/signin/ HTTP/1.1
Host:
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
Create a new user via e-mail. Must be logged out to do so.
ok/error
POST /api/users/ HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"email": "[email protected]"
}
ok/error
{
"message": "text",
"status": "text"
}
ends user session and token
ok/error
GET /api/users/signout/ HTTP/1.1
Host:
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
login user through connected github account
ok/error
GET /api/users/github/signin HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
auth,connect logged in user to github account
code from OAuth2 server
ok/error
GET /api/users/github/connect HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
disconnect logged in user from github account
ok/error
GET /api/users/github/disconnect HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
login user through connected google account
ok/error
GET /api/users/google/signin HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
auth,connect logged in user to google account
code from OAuth2 server
ok/error
GET /api/users/google/connect HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
disconnect logged in user from google account
ok/error
GET /api/users/google/disconnect HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
returns github repositories of a user
ok/error
GET /api/github/repos HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
returns github branches of a repository
ok/error
GET /api/github/repo/branches?repository=text HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
ok/error
{
"message": "text",
"status": "text"
}
Última actualización