haproxy summary-API-Spec

getall_haproxy_summary

GET
This feature is only available for desktop.
Feature is available only on desktop

Use this operation to get HA Proxy device summary

Resource URL

https://adm.cloud.com/massvc/{customerid}/nitro/v2/config/haproxy_summary

Path Parameters

ParameterTypeValueDescription
customerid
string
Required

Customer Id of the user

Header Parameters

ParameterTypeValueDescription
Authorization
string
Required

Session Id for authentication.Should be mentioned in the format CwcAuth bearer=sessionIdValue

isCloud
string
Required

set the value to true in case of Cloud services, false for on-prem deployment

Query Parameters

ParameterTypeValueDescription
filter
string
Optional

Use this query-parameter to get the filtered set of vm_device resources configured on the system. You can set a filter on any property of the resource.Example: property-name1:property-value1

pagesize
integer
Optional

Use this query-parameter to get the haproxy_summary resources in chunks.To be used along with pageno query parameter.

pageno
integer
Optional

Use this query-parameter to get the haproxy_summary resources in chunks.To be used along with pagesize query parameter.

count
string
Optional

Use this query-parameter to get the count of haproxy_summary resources.

Available values : yes

Responses

Response Details
Http CodeDescription
200

for haproxy_summary

{
  "haproxy_summary": {
    "category_type": "uptime",
    "category_name": "less than 1 day",
    "subcategory_name": "model",
    "device_type": "ns",
    "device_family": "ns",
    "value": "0",
    "subcategory_type": "string_value"
  }
}
400

Bad input parameter

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
401

Failed Authentication

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
403

Unauthorized

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
404

Item not found

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
409

Resource Conflict

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
500

Server Error

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
haproxy summary-API-Spec