Download OpenAPI specification:
Manage you hosting and services from a simple and effective API.
Please see the "General API FAQ" for information on authentication. In one sentence: use "HTTP Basic Authentication" for authentication, with "api" as the username and your secret API key as the password. That's it.
domainId required | string |
The user to create.
required | object (NewDnsRecord) |
{- "nameserver_record": {
- "name": "example.com",
- "type": "NS",
- "content": "ns1.lima-city.de",
- "ttl": 3600,
- "priority": "10"
}
}
{- "status": "ok"
}
domainId required | string |
recordId required | string |
The updated record
required | object (NewDnsRecord) |
{- "nameserver_record": {
- "name": "example.com",
- "type": "NS",
- "content": "ns1.lima-city.de",
- "ttl": 3600,
- "priority": "10"
}
}
{- "status": "ok"
}
mailbox object
required | object (mailboxes_mailbox) |
{- "mailbox": {
- "login": "info",
- "domain": "example.com",
- "password": "pa$$word",
- "greylisting": false
}
}
{- "status": "ok"
}
{- "id": 123,
- "type": "mailbox",
- "email": "info@example.com",
- "local_part": "info",
- "domain": "example.com",
- "access_denied": false,
- "destinations": [
- "foobar@gmail.com"
]
}
mailboxId required | string |
The new mailbox settings
required | object (mailboxesmailboxId_mailbox) |
{- "mailbox": {
- "greylisting": true,
- "relaxed_helo": false,
- "password_api_enabled": true
}
}
{- "id": 123,
- "type": "mailbox",
- "email": "info@example.com",
- "local_part": "info",
- "domain": "example.com",
- "access_denied": false,
- "destinations": [
- "foobar@gmail.com"
]
}
mailboxId required | string |
The new mailbox password
required | object (mailboxesmailboxIdpassword_mailbox) |
{- "mailbox": {
- "password": "pa$$word"
}
}
{- "status": "ok"
}
alias object
required | object (aliases_alias) |
{- "alias": {
- "local_part": "info",
- "domain": "example.com",
- "type": "internal",
- "mailbox": "1234",
- "email_address": "foobardst@example.com"
}
}
{- "status": "ok"
}
[- {
- "time": "2018-07-23T22:04:01+02:00",
- "message": "Uncaught Error: Call to undefined function throw_error()",
- "level": "fatal_error",
- "backtrace": [
- "#0 {main}"
], - "script": "/home/webpages/lima-city/lordoflima/html/foo.php",
- "script_line": "137"
}
]
[- {
- "wordpress": {
- "software": "wordpress",
- "version": "4.9.7",
- "config_exists": true,
- "config": {
- "table_prefix": "wp_",
- "debug": true,
- "disable_wp_cron": true,
- "cache": true,
- "db_name": "db_1337_1",
- "db_user": "USER1337",
- "db_host": "localhost"
}, - "staging": {
- "staging_id": "7b81cd7ff92a77552104",
- "created_at": "2018-07-23 23:00:58 +0200",
- "live_path": "mein-wordpress",
- "live_db_name": "db_1337_1",
- "staging_path": "mein-wordpress-staging",
- "staging_db_name": "db_1337_2",
- "staging_hostname": "staging.mein-wordpress.org",
- "original_wp_home": "string",
- "original_wp_siteurl": "string"
}
}, - "path": "mein-wordpress",
- "link_id": "string",
}
]
linkId required | string Base64 encoded path of the wordpress installation |
{- "wordpress": {
- "software": "wordpress",
- "version": "4.9.7",
- "config_exists": true,
- "config": {
- "table_prefix": "wp_",
- "debug": true,
- "disable_wp_cron": true,
- "cache": true,
- "db_name": "db_1337_1",
- "db_user": "USER1337",
- "db_host": "localhost"
}, - "staging": {
- "staging_id": "7b81cd7ff92a77552104",
- "created_at": "2018-07-23 23:00:58 +0200",
- "live_path": "mein-wordpress",
- "live_db_name": "db_1337_1",
- "staging_path": "mein-wordpress-staging",
- "staging_db_name": "db_1337_2",
- "staging_hostname": "staging.mein-wordpress.org",
- "original_wp_home": "string",
- "original_wp_siteurl": "string"
}
}, - "path": "mein-wordpress",
- "link_id": "string",
}
linkId required | string Base64 encoded path of the wordpress installation |
{- "components": {
- "plugins": [
- {
- "name": "akismet",
- "status": "active",
- "update": "none",
- "version": "4.0.8",
- "title": "Akismet Anti-Spam"
}
], - "themes": [
- {
- "name": "ayageek",
- "status": "active",
- "update": "none",
- "version": "1.0.1",
- "update_version": "1.0.2",
- "title": "AyaGeek"
}
], - "core": {
- "update": { }
}
}
}
linkId required | string Base64 encoded path of the wordpress installation |
Plugins, themes or languages to update. Only the first list will be processed, for example when plugins are given, no themes will be updated.
plugins required | Array of strings |
{- "plugins": [
- "askimet"
]
}
{- "status": "ok"
}
linkId required | string Base64 encoded path of the wordpress installation |
Plugins, themes or languages to activate
plugins required | Array of strings |
{- "themes": [
- "string"
]
}
{- "status": "ok"
}
linkId required | string Base64 encoded path of the wordpress installation |
Plugins, themes or languages to deactivate
plugins required | Array of strings |
{- "themes": [
- "string"
]
}
{- "status": "ok"
}
linkId required | string Base64 encoded path of the wordpress installation |
Plugins, themes or languages to uninstall
plugins required | Array of strings |
{- "themes": [
- "string"
]
}
{- "status": "ok"
}
WordPress staging API. Create and drop staging copies of your WordPress installation and go live if you are happy with the changes.
linkId required | string Base64 encoded path of the wordpress installation |
{- "staging": {
- "staging_id": "7b81cd7ff92a77552104",
- "created_at": "2018-07-23 23:00:58 +0200",
- "live_path": "mein-wordpress",
- "live_db_name": "db_1337_1",
- "staging_path": "mein-wordpress-staging",
- "staging_db_name": "db_1337_2",
- "staging_hostname": "staging.mein-wordpress.org",
- "original_wp_home": "string",
- "original_wp_siteurl": "string"
}
}
Will copy all WordPress files and database contents to a new staging directory and database. The staging copies wp-config.php will be changed.
The WordPress SIte-URL and HOME will be changed for the duration of the staging copy being a staging copy. The original value is storaged in a json file in the WordPress root folder. If the update parameter is set, updates will be run on the fresh copy.
To make the new staging hostname available via SSL, a new certificate is requested via Let's Encrypt unless a certificate already exists.
linkId required | string Base64 encoded path of the wordpress installation |
staging options
object (wordpresslinkIdstart_staging_staging) |
{- "staging": {
- "update": true
}
}
{- "status": "ok"
}
WordPress Single-Sign-In API. Use this to create magic 1-Click WordPress admin login links.
Creates a server task to create a new single sign-in (SSO) session via a companion plugin. The plugin "WP CLI Login Command Server" will be installed if necessary.
Use the SSO session action toe the status and the link for the admin sign-in.
linkId required | string Base64 encoded path of the wordpress installation |
{- "session_id": "e7829fdc39967a7194cacad56c7cc1b8"
}
Check if the SSO session has successfully been created.
Once the URL is present, you can use the follow action for a redirect to the WordPress admin-
linkId required | string Base64 encoded path of the wordpress installation |
sessionId required | string ID of the SSO session |
{- "session_id": "e7829fdc39967a7194cacad56c7cc1b8",
- "url_present": true
}
{- "available": true,
- "enabled": true,
- "current_size": "128",
- "socket": "/usr/share/lima/php-deinbenutzername/memcached.sock",
- "stats": {
- "accepting_conns": "1",
- "auth_cmds": "0",
- "auth_errors": "0",
- "bytes": "49425",
- "bytes_read": "70860861",
- "bytes_written": "503830913",
- "cas_badval": "0",
- "cas_hits": "0",
- "cas_misses": "0",
- "cmd_flush": "0",
- "cmd_get": "489598",
- "cmd_set": "22085",
- "cmd_touch": "0",
- "conn_yields": "0",
- "connection_structures": "11",
- "crawler_items_checked": "57534",
- "crawler_reclaimed": "3239",
- "curr_connections": "4",
- "curr_items": "69",
- "decr_hits": "0",
- "decr_misses": "0",
- "delete_hits": "0",
- "delete_misses": "0",
- "direct_reclaims": "0",
- "evicted_active": "0",
- "evicted_unfetched": "0",
- "evictions": "0",
- "expired_unfetched": "2103",
- "get_expired": "5759",
- "get_flushed": "0",
- "get_hits": "467435",
- "get_misses": "22163",
- "hash_bytes": "524288",
- "hash_is_expanding": "0",
- "hash_power_level": "16",
- "incr_hits": "0",
- "incr_misses": "0",
- "libevent": "2.1.8-stable",
- "limit_maxbytes": "134217728",
- "listen_disabled_num": "0",
- "log_watcher_sent": "0",
- "log_watcher_skipped": "0",
- "log_worker_dropped": "0",
- "log_worker_written": "0",
- "lru_bumps_dropped": "0",
- "lru_crawler_running": "0",
- "lru_crawler_starts": "228164",
- "lru_maintainer_juggles": "36441728",
- "lrutail_reflocked": "14787",
- "malloc_fails": "0",
- "max_connections": "1024",
- "moves_to_cold": "172602",
- "moves_to_warm": "165288",
- "moves_within_lru": "95184",
- "pid": "13",
- "pointer_size": "64",
- "reclaimed": "13018",
- "rejected_connections": "0",
- "reserved_fds": "20",
- "rusage_system": "511.768000",
- "rusage_user": "584.428000",
- "slab_global_page_pool": "0",
- "slab_reassign_busy_deletes": "0",
- "slab_reassign_busy_items": "0",
- "slab_reassign_chunk_rescues": "0",
- "slab_reassign_evictions_nomem": "0",
- "slab_reassign_inline_reclaim": "0",
- "slab_reassign_rescues": "0",
- "slab_reassign_running": "0",
- "slabs_moved": "0",
- "threads": "4",
- "time": "1532460789",
- "time_in_listen_disabled_us": "0",
- "total_connections": "6573",
- "total_items": "22085",
- "touch_hits": "0",
- "touch_misses": "0",
- "uptime": "3117429",
- "version": "1.5.6 Ubuntu"
}
}
The user to create.
name required | string |
text_key required | integer |
{- "name": "Mein Key",
- "text_key": 0
}
{- "id": "19567"
}