What the plan would do, the names already taken, the software the server lacks and the exceptions; changes nothing
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/linux-imports/{lid}/dry-runWhat the plan would do, the names already taken, the software the server lacks and the exceptions; changes nothing
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
lid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
tenant_idstring requiredserver_idstring requiredsitesarray<object> requireddomainstring requiredhostnamestring optional
databasesarray<object> optionalnamestring requiredtargetstring optional
mailboolean optionaldnsboolean optionalcertificatesboolean optionalcronboolean optionalftpboolean optional
Example
{
"tenant_id": "string",
"server_id": "string",
"sites": [
{
"domain": "string",
"hostname": "string"
}
],
"databases": [
{
"name": "string",
"target": "string"
}
],
"mail": true,
"dns": true,
"certificates": true,
"cron": true,
"ftp": true
}Responses
200 The dry run
Content type: application/json
actionsarray<object> requiredkindstring requirednamestring requireddetailstring optional
conflictsarray<object> requiredkindstring requirednamestring requiredcodestring required
codestring requiredseveritystring requiredAllowed values:"info""warning""manual"itemstring requireddetailstring optionalcountinteger optional
Example
{
"actions": [
{
"kind": "string",
"name": "string",
"detail": "string"
}
],
"conflicts": [
{
"kind": "string",
"name": "string",
"code": "string"
}
],
"exceptions": [
{
"code": "string",
"severity": "info",
"item": "string",
"detail": "string",
"count": 0
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required