2719 linhas
64 KiB
TypeScript
2719 linhas
64 KiB
TypeScript
// Generated from the OpenAPI specification. Do not edit by hand: regenerate.
|
|
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const hostingOperations: INodeProperties[] = [{
|
|
"displayName": "Operation",
|
|
"name": "operation",
|
|
"type": "options",
|
|
"noDataExpression": true,
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"name": "See disk, traffic and resource usage",
|
|
"value": "usageGet",
|
|
"description": "Needs `hosting:read`. Disk and traffic in bytes. `limit_bytes` is `null` when there is no limit. The items in `resources` depend on the server. If the service is not active, or is not a supported...",
|
|
"action": "See disk, traffic and resource usage",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/usage"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a direct login link",
|
|
"value": "loginCreate",
|
|
"description": "Needs `hosting:login`. The link works once and gives full access to the panel of this account, so keep it private. It is never stored, so `Idempotency-Key` is not kept here: each call creates a new...",
|
|
"action": "Create a direct login link",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/cpanel-login"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List subdomains",
|
|
"value": "subdomainsList",
|
|
"description": "Needs `hosting:read`. Each one with its folder, relative to the account folder. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in...",
|
|
"action": "List subdomains",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/subdomains"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a subdomain",
|
|
"value": "subdomainsCreate",
|
|
"description": "Needs `hosting:write`. The `root_domain` must be active in your account: registered with us (or a subdomain of one that is), or the domain of an active hosting service, otherwise it answers `409`...",
|
|
"action": "Create a subdomain",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/subdomains",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete a subdomain",
|
|
"value": "subdomainsDelete",
|
|
"description": "Needs `hosting:write`. Needs the name in `confirm`. The files stay in the folder. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Delete a subdomain",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/subdomains/{{encodeURIComponent(String($parameter[\"domain\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List addon domains",
|
|
"value": "addonDomainsList",
|
|
"description": "Needs `hosting:read`. The domains with their own site in this account. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`.",
|
|
"action": "List addon domains",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/addon-domains"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Add an addon domain",
|
|
"value": "addonDomainsCreate",
|
|
"description": "Needs `hosting:write`. The domain must be active in your account: registered with us (or a subdomain of one that is), or the domain of an active hosting service, otherwise it answers `409` with...",
|
|
"action": "Add an addon domain",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/addon-domains",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Remove an addon domain",
|
|
"value": "addonDomainsDelete",
|
|
"description": "Needs `hosting:write`. Needs the name in `confirm`. The files stay in the folder. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Remove an addon domain",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/addon-domains/{{encodeURIComponent(String($parameter[\"domain\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List redirects",
|
|
"value": "redirectsList",
|
|
"description": "Needs `hosting:read`. A `domain` of `all` applies to every domain of the account. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in...",
|
|
"action": "List redirects",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/redirects"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a redirect",
|
|
"value": "redirectsCreate",
|
|
"description": "Needs `hosting:write`. The `destination` starts with `http://` or `https://` and cannot have spaces, quotes or `%`. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Create a redirect",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/redirects",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete a redirect",
|
|
"value": "redirectsDelete",
|
|
"description": "Needs `hosting:write`. Use the `id` from the list. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Delete a redirect",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/redirects/{{encodeURIComponent(String($parameter[\"redirect_id\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List databases",
|
|
"value": "databasesList",
|
|
"description": "Needs `hosting:read`. Each one with its size and users. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`.",
|
|
"action": "List databases",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/databases"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a database",
|
|
"value": "databasesCreate",
|
|
"description": "Needs `hosting:write`. The answer gives the final name, with the prefix. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Create a database",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/databases",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete a database",
|
|
"value": "databasesDelete",
|
|
"description": "Needs `hosting:write`. Needs the name in `confirm`. The data is lost. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Delete a database",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/databases/{{encodeURIComponent(String($parameter[\"name\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List database users",
|
|
"value": "databaseUsersList",
|
|
"description": "Needs `hosting:read`. Each one with the databases it can reach. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`.",
|
|
"action": "List database users",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/database-users"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a database user",
|
|
"value": "databaseUsersCreate",
|
|
"description": "Needs `hosting:write`. The password is never stored by the API, so `Idempotency-Key` is not kept here. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Create a database user",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/database-users"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Change a database user password",
|
|
"value": "databaseUsersPassword",
|
|
"description": "Needs `hosting:write`. The password never comes back. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Change a database user password",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/database-users/{{encodeURIComponent(String($parameter[\"name\"]))}}/password"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete a database user",
|
|
"value": "databaseUsersDelete",
|
|
"description": "Needs `hosting:write`. Needs the name in `confirm`. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Delete a database user",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/database-users/{{encodeURIComponent(String($parameter[\"name\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Give a user access to a database",
|
|
"value": "databasesGrant",
|
|
"description": "Needs `hosting:write`. Use `ALL`, or a list such as `SELECT` and `INSERT`. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Give a user access to a database",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/databases/{{encodeURIComponent(String($parameter[\"name\"]))}}/users/{{encodeURIComponent(String($parameter[\"user\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Remove a user access to a database",
|
|
"value": "databasesRevoke",
|
|
"description": "Needs `hosting:write`. The user and the database stay. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Remove a user access to a database",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/databases/{{encodeURIComponent(String($parameter[\"name\"]))}}/users/{{encodeURIComponent(String($parameter[\"user\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List cron jobs",
|
|
"value": "cronList",
|
|
"description": "Needs `hosting:read`. Includes the jobs created in the panel. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`. `command` can...",
|
|
"action": "List cron jobs",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/cron"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create a cron job",
|
|
"value": "cronCreate",
|
|
"description": "Needs `hosting:code`. A cron job runs code on the account, so this permission is separate from `hosting:write` and off by default. In `url`, only public domain names that resolve to public addresses...",
|
|
"action": "Create a cron job",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/cron",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete a cron job",
|
|
"value": "cronDelete",
|
|
"description": "Needs `hosting:write`. Use the `id` from the list. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Delete a cron job",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/cron/{{encodeURIComponent(String($parameter[\"cron_id\"]))}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "See the SSL certificates",
|
|
"value": "sslGet",
|
|
"description": "Needs `hosting:read`. The certificate of each site and its expiry date. `meta.autossl_running` says if a free certificate is being requested. If the service is not active, or is not a supported...",
|
|
"action": "See the SSL certificates",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/ssl"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Request free certificates",
|
|
"value": "sslAutossl",
|
|
"description": "Needs `hosting:write`. It only works for domains that point to our servers. Limit: once every 15 minutes per account. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Request free certificates",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/ssl/autossl",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "See the PHP version of each site",
|
|
"value": "phpGet",
|
|
"description": "Needs `hosting:read`. The version of each domain, or `inherit`. To change the version, use the panel. If the service is not active, or is not a supported hosting account, it answers `409` with the...",
|
|
"action": "See the PHP version of each site",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/php"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "See the PHP options",
|
|
"value": "phpOptions",
|
|
"description": "Needs `hosting:read`. Only the options that can be changed through the API. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`.",
|
|
"action": "See the PHP options",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/php/options"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Change the PHP options",
|
|
"value": "phpOptionsUpdate",
|
|
"description": "Needs `hosting:write`. Accepted: `memory_limit` (32M to 2048M), `post_max_size` and `upload_max_filesize` (1M to 2048M), `max_execution_time` and `max_input_time` (1 to 600), `max_input_vars` (100 to...",
|
|
"action": "Change the PHP options",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/php/options"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List backup dates",
|
|
"value": "backupsList",
|
|
"description": "Needs `hosting:read`. The dates with a backup on the server. The backup requested with `POST` stays in the account folder and is not in this list. To restore, use the account dashboard or ask...",
|
|
"action": "List backup dates",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/backups"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Request a full backup",
|
|
"value": "backupsCreate",
|
|
"description": "Needs `hosting:write`. The file stays in the account folder and takes up space of the plan. Limit: once a day per account. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Request a full backup",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/backups",
|
|
"headers": {
|
|
"Idempotency-Key": "={{ \"n8n-\" + Date.now().toString(36) + \"-\" + Math.random().toString(36).slice(2, 12) }}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "List FTP accounts",
|
|
"value": "ftpList",
|
|
"description": "Needs `hosting:read`. `quota_mb` is `null` when there is no limit. If the service is not active, or is not a supported hosting account, it answers `409` with the reason in `details.reason`.",
|
|
"action": "List FTP accounts",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/ftp-accounts"
|
|
},
|
|
"output": {
|
|
"postReceive": [
|
|
{
|
|
"type": "rootProperty",
|
|
"properties": {
|
|
"property": "data"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Create an FTP account",
|
|
"value": "ftpCreate",
|
|
"description": "Needs `hosting:code`. FTP in the site folder can run code on the account, so this permission is separate from `hosting:write` and off by default. The access only sees its folder. The password is...",
|
|
"action": "Create an FTP account",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/ftp-accounts"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Change an FTP password",
|
|
"value": "ftpPassword",
|
|
"description": "Needs `hosting:code`. FTP in the site folder can run code on the account, so this permission is separate from `hosting:write` and off by default. The main account cannot be changed here. With a...",
|
|
"action": "Change an FTP password",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/ftp-accounts/{{encodeURIComponent(String($parameter[\"login\"]))}}/password"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Delete an FTP account",
|
|
"value": "ftpDelete",
|
|
"description": "Needs `hosting:write`. Needs the login in `confirm`. The files stay. The main account cannot be deleted. With a `sandbox_` key it only checks the request and changes nothing.",
|
|
"action": "Delete an FTP account",
|
|
"routing": {
|
|
"request": {
|
|
"method": "DELETE",
|
|
"url": "=/v1/services/{{encodeURIComponent(String($parameter[\"id\"]))}}/ftp-accounts/{{encodeURIComponent(String($parameter[\"login\"]))}}"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"default": "usageGet"
|
|
}];
|
|
|
|
export const hostingFields: INodeProperties[] = [
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"usageGet"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"loginCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Root Domain",
|
|
"name": "root_domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "A domain of this hosting account.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "root_domain"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The name before the domain.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "name"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsCreate"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Directory",
|
|
"name": "directory",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Folder relative to the account folder, without `..` and outside system folders.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "directory"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name of the domain.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Confirm",
|
|
"name": "confirm",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The exact name of what you are deleting, to confirm.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "confirm"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"subdomainsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The domain to add.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "domain"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsCreate"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Directory",
|
|
"name": "directory",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Folder relative to the account folder, without `..` and outside system folders.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "directory"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name of the domain.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Confirm",
|
|
"name": "confirm",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The exact name of what you are deleting, to confirm.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "confirm"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"addonDomainsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "A domain of this hosting account.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "domain"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Destination",
|
|
"name": "destination",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Where it goes.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "destination"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsCreate"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Source",
|
|
"name": "source",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Path starting with `/`. If omitted, `/`.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "source"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Type",
|
|
"name": "type",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "`permanent` or `temporary`.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "type"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Wildcard",
|
|
"name": "wildcard",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Keeps the rest of the path.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "wildcard"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Redirect ID",
|
|
"name": "redirect_id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` from the list.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"redirectsDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Lowercase letters, digits and `_`. The account prefix is added if missing.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "name"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name, with the account prefix.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Confirm",
|
|
"name": "confirm",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The exact name of what you are deleting, to confirm.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "confirm"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Lowercase letters, digits and `_`. The account prefix is added if missing.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "name"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Password",
|
|
"name": "password",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "12 to 128 characters, with at least 3 kinds among lowercase, uppercase, digits and symbols, without the account name. It never comes back.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "password"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name, with the account prefix.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Password",
|
|
"name": "password",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "12 to 128 characters, with at least 3 kinds among lowercase, uppercase, digits and symbols, without the account name. It never comes back.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "password"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name, with the account prefix.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Confirm",
|
|
"name": "confirm",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The exact name of what you are deleting, to confirm.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "confirm"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databaseUsersDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesGrant"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name, with the account prefix.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesGrant"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "User",
|
|
"name": "user",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name of the user, with the account prefix.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesGrant"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesGrant"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Privileges",
|
|
"name": "privileges",
|
|
"type": "string",
|
|
"default": "",
|
|
"placeholder": "value1, value2",
|
|
"description": "If omitted, `ALL`. Comma-separated.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "privileges",
|
|
"value": "={{ Array.isArray($value) ? $value : String($value).split(\",\").map(s => s.trim()).filter(s => s !== \"\") }}"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesRevoke"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name, with the account prefix.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesRevoke"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "User",
|
|
"name": "user",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The full name of the user, with the account prefix.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"databasesRevoke"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"cronList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"cronList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"cronCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Schedule",
|
|
"name": "schedule",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Five fields, with digits and `*`, `,`, `/`, `-`.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "schedule"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"cronCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"cronCreate"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Args",
|
|
"name": "args",
|
|
"type": "string",
|
|
"default": "",
|
|
"placeholder": "value1, value2",
|
|
"description": "Up to 8 values for the script. Comma-separated.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "args",
|
|
"value": "={{ Array.isArray($value) ? $value : String($value).split(\",\").map(s => s.trim()).filter(s => s !== \"\") }}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "PHP Script",
|
|
"name": "php_script",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "A PHP file, relative to the account folder.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "php_script"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "URL",
|
|
"name": "url",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "A public `http://` or `https://` address, without `%`.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "url"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"cronDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Cron ID",
|
|
"name": "cron_id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` from the list.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"cronDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"sslGet"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"sslGet"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"sslAutossl"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"phpGet"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"phpGet"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"phpOptions"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"phpOptions"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "A domain of this hosting account. If omitted, the main domain.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "domain"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"phpOptionsUpdate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "A domain of this hosting account.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "domain"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"phpOptionsUpdate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Options",
|
|
"name": "options",
|
|
"type": "json",
|
|
"default": "{}",
|
|
"required": true,
|
|
"description": "The options to change.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "options",
|
|
"value": "={{ typeof $value === \"string\" ? ($value.trim() === \"\" ? undefined : JSON.parse($value)) : $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"phpOptionsUpdate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"backupsList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"backupsList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"backupsCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpList"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Query Parameters",
|
|
"name": "queryParameters",
|
|
"type": "collection",
|
|
"placeholder": "Add Parameter",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpList"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"type": "number",
|
|
"default": 1,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "The page number. The first is 1.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Per Page",
|
|
"name": "per_page",
|
|
"type": "number",
|
|
"default": 10,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "Results per page, from 1 to 100. The default is 10.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "per_page"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "User",
|
|
"name": "user",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The name before the domain.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "user"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Domain",
|
|
"name": "domain",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "A domain of this hosting account.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "domain"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Password",
|
|
"name": "password",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "12 to 128 characters, with at least 3 kinds among lowercase, uppercase, digits and symbols, without the account name. It never comes back.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "password"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Directory",
|
|
"name": "directory",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "Folder relative to the account folder, without `..` and outside system folders.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "directory"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpCreate"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Additional Fields",
|
|
"name": "additionalFields",
|
|
"type": "collection",
|
|
"placeholder": "Add Field",
|
|
"default": {},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpCreate"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"displayName": "Quota Mb",
|
|
"name": "quota_mb",
|
|
"type": "number",
|
|
"default": 0,
|
|
"typeOptions": {
|
|
"numberPrecision": 0
|
|
},
|
|
"description": "From 1 to 102400. If omitted, 1024.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "quota_mb"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Login",
|
|
"name": "login",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The login, as `name@domain`.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Password",
|
|
"name": "password",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "12 to 128 characters, with at least 3 kinds among lowercase, uppercase, digits and symbols, without the account name. It never comes back.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "password"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpPassword"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The `id` of the hosting service.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Login",
|
|
"name": "login",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "",
|
|
"description": "The login, as `name@domain`.",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpDelete"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Confirm",
|
|
"name": "confirm",
|
|
"type": "string",
|
|
"default": "",
|
|
"required": true,
|
|
"description": "The exact name of what you are deleting, to confirm.",
|
|
"routing": {
|
|
"send": {
|
|
"type": "body",
|
|
"property": "confirm"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"hosting"
|
|
],
|
|
"operation": [
|
|
"ftpDelete"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
];
|