Organization API: Customer Portal: Import
The 5 Organization API operations for import.
Part of Customer Portal.
GET /api/v1/orgs/{org_slug}/portal/servers/{uuid}/import/current
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/portal/servers/{uuid}/import/start
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
type |
string |
yes |
remote_host |
string |
yes |
remote_port |
integer or null |
no |
username |
string |
yes |
password |
string |
yes |
base_path |
string |
no |
truncate |
boolean |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/servers/{uuid}/import/status/{import_id}
Polled while an import runs. Replica first; a miss re-asks the primary.
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
import_id |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/portal/servers/{uuid}/import/test-connection
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
type |
string |
yes |
remote_host |
string |
yes |
remote_port |
integer or null |
no |
username |
string |
yes |
password |
string |
yes |
base_path |
string |
no |
truncate |
boolean |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
DELETE /api/v1/orgs/{org_slug}/portal/servers/{uuid}/import/{import_id}
| Name |
In |
Type |
Required |
uuid |
path |
string |
yes |
import_id |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |