/
PI
pingcap
/
Azores Open API
Search skmtc…
⌘K
Changes
Docs
Sign in
Sign in
APIs
4
Docs
History
Schema
Filter operations
AlertService
30
ApiKeyService
7
AuditService
4
ClusterBRService
6
ClusterParamService
5
ClusterParamTemplateService
9
ClusterService
28
CMServerService
7
CredentialService
8
DiagnosisService
23
DomainService
7
GlobalBRService
11
HostService
16
get
/api/v2/hosts
ListHosts
post
/api/v2/hosts
CreateHosts
post
/api/v2/hosts/import/tasks
import host
get
/api/v2/hosts/import/tasks/{taskId}
Import one host
post
/api/v2/hosts/import/tasks/{taskId}:confirm
HostConfirm one host
get
/api/v2/hosts/{hostId}
Get
delete
/api/v2/hosts/{hostId}
delete one host by host_id
patch
/api/v2/hosts/{hostId}
update one host by host_id
get
/api/v2/hosts/{hostId}/disks
GetDisks
get
/api/v2/hosts/{hostId}/report/{reportId}
Report
get
/api/v2/hosts/{hostId}/tidbProcesses
GetInstances
post
/api/v2/hosts/{hostId}:fix
Fix
post
/api/v2/hosts/{hostId}:systemCheck
Check
post
/api/v2/hosts:batchDelete
delete one host by host_id
get
/api/v2/hosts:download
HostConfirm one host
get
/api/v2/hosts:downloadHostTemplate
DownloadHostTemplate one host
LicenseService
4
LocationService
5
MetricsService
8
RoleService
4
TagService
12
TaskFlowService
4
TiupsService
8
UserService
11
HostService
Copy Markdown
Copied
Copy failed
CreateHosts
Changed on
Dec 31, 2024
post
/api/v2/hosts
Request
The document declares no server URL.
Auth:
none declared
Request body
V2
Create
Host
required
ips
string[]
sshPort
integer
credentialId
string
locationId
string
tagIds
string[]
comment
string
domainId
integer
Response
A successful response.
V2
Host
Create
Response
required
taskId
string
Changes
Dec 31, 2024
8bcbbdb2a394
Revision changes
○
endpoint added
Operation history
Ask about this API