Return filtered hosting plans
This function matches the server's hosting plans (packages) against your criteria.
Note:
If you do not include any input parameters, the function lists all of the server's packages.
Query parameters
A space-separated list of one or more of the hosting plan's package extensions.
The hosting plan's bandwidth limit.
- unlimited — The hosting plan allows unlimited bandwidth.
Whether CGI is enabled for the hosting plan.
- 1 — Enabled.
- 0 — Disabled.
The hosting plan's cPanel interface theme.
Whether the hosting plan enables Digest Authentication.
- y — Enabled.
- n — Disabled.
The hosting plan's feature list.
Whether shell access is enabled for the hosting plan.
- 1 — Enabled
- 0 — Disabled.
Whether the hosting plan grants accounts a dedicated IP address.
- y — Dedicated IP address.
- n — Shared IP address.
The hosting plan's locale.
The percentage of failed or deferred email messages that the hosting plan can send per hour before the system rate-limits outgoing mail.
- unlimited — The hosting plan allows unlimited email messages.
The maximum number of emails that the hosting plan can send in one hour.
- unlimited — The hosting plan allows unlimited emails per hour.
The hosting plan's maximum email account quota size, in megabytes (MB).
- unlimited — The hosting plan allows an unlimited email account quota size.
The hosting plan's maximum number of Team users.
The hosting plan's maximum number of addon domains.
- unlimited — The hosting plan allows unlimited addon domains.
The hosting plan's maximum number of FTP accounts.
- unlimited — The hosting plan allows for unlimited FTP accounts.
The hosting plan's maximum number of mailing lists.
- unlimited — The hosting plan allows an unlimited number of mailing lists.
The hosting plan's maximum number of parked domains (aliases).
- unlimited — The hosting plan allows unlimited parked domains.
The hosing plan's maximum number of email accounts.
- unlimited — The hosting plan's can create unlimited email accounts.
The hosting plan's maximum number of SQL databases.
- unlimited — The hosting plan allows unlimited SQL databases.
The hosting plan's maximum number of subdomains.
- unlimited — The hosting plan allows unlimited subdomains.
The hosting plan's disk space limit.
- unlimited — The hosting plan has unlimited disk space.
Response
HTTP Request was successful.
Example response
{
"data": {
"pkg": {
"CGI": 1,
"CPMOD": "jupiter",
"DIGESTAUTH": "y",
"FEATURELIST": "myfeaturelist",
"HASSHELL": "n",
"IP": "n",
"LANG": "en",
"_PACKAGE_EXTENSIONS": "ext1 ext2 ext3"
}
},
"metadata": {
"command": "matchpkgs",
"reason": "OK",
"result": 1,
"version": 1
}
}