Apis
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /gbds/v2/apis HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"data": [
{
"apiId": "text",
"hostname": "text",
"port": 1,
"type": "LEADER"
}
]
}POST /gbds/v2/apis HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"data": {
"apiId": "text",
"hostname": "text",
"port": 1,
"type": "LEADER"
}
}{
"status": "CREATED",
"data": {
"apiId": "text",
"hostname": "text",
"port": 1,
"type": "LEADER"
}
}DELETE /gbds/v2/apis/{apiId} HTTP/1.1
Host: <ip>:8085
Accept: */*
{}