Client - Domains

Get a domain by ID (must belong to the caller's account)

get/api/client/domains/{id}

Path parameters

idinteger required

Response

Success

idinteger

ID of the domain record

domainstring

Domain name

domain_rootstring

Domain root directory

document_rootstring

Document root directory

inherit_document_rootboolean

Whether to inherit document root

subdomainstring

Subdomain name

domain_typestring

Type of domain (main, subdomain, addon, parked)

ipstring

IP address associated with the domain

hosting_account_idinteger

ID of the related hosting account

php_versionstring

@deprecated Legacy PHP version short string. Use php_version_id (and the phpVersion relation) instead.

is_php_fpm_enabledboolean

Is PHP-FPM enabled

php_fpm_pmstring

PHP-FPM process manager type

php_fpm_pm_max_childreninteger

Maximum number of child processes

php_fpm_pm_start_serversinteger

Number of child processes created on startup

php_fpm_pm_min_spare_serversinteger

Minimum number of idle processes

php_fpm_pm_max_spare_serversinteger

Maximum number of idle processes

php_fpm_pm_max_requestsinteger

Number of requests each child process handles

php_fpm_pm_status_pathstring

Path for status page

php_fpm_ping_pathstring

Path for ping page

php_fpm_ping_responsestring

Response for ping requests

php_fpm_access_logstring

Access log file path

php_fpm_access_formatstring

Access log format string

php_fpm_slowlogstring

Slow log file path

php_fpm_request_slowlog_timeoutinteger

Slow log timeout in seconds

php_fpm_request_terminate_timeoutinteger

Request termination timeout in seconds

php_fpm_rlimit_filesinteger

File descriptor limit

php_fpm_rlimit_coreinteger

Core file size limit

php_fpm_chrootstring

Chroot directory path

php_fpm_chdirstring

Change directory path

php_fpm_envobject

Environment variables for PHP-FPM processes

php_fpm_catch_workers_outputboolean

Whether to catch worker output

statusstring

Status of the domain (active, suspended, etc.)

domain_type_friendly_namestring

Human-friendly domain type name

redirect_to_textstring

Redirect status as text

Changes

No recorded changes to this endpoint across all 1 revision of this API.