| Status | Description | Response Content or Scheme |
| 200 | The current topic TTL: single broker or cluster+nodeid returns ttl_sec; cluster without nodeid returns ttls array. | { "ttl_sec": { "type": "integer", "description": "The TTL after which a topic is removed (single broker or one cluster node)." }, "ttls": { "type": "array", "items": { "type": "integer" }, "description": "HP cluster only, one TTL per node when nodeid is omitted." } }
|
| 401 | Unauthorized request error | { "message": { "type": "string", "description": "A descriptive error message" }, "code": { "type": "string", "description": "A textual error code" }, "status": { "type": "integer", "description": "A corresponding HTML status code" }, "info": { "type": "object", "description": "An optional info object containing error dependent information" } }
|
| 403 | Request is not allowed error | { "message": { "type": "string", "description": "A descriptive error message" }, "code": { "type": "string", "description": "A textual error code" }, "status": { "type": "integer", "description": "A corresponding HTML status code" }, "info": { "type": "object", "description": "An optional info object containing error dependent information" } }
|
| 404 | Resource is not found error | { "message": { "type": "string", "description": "A descriptive error message" }, "code": { "type": "string", "description": "A textual error code" }, "status": { "type": "integer", "description": "A corresponding HTML status code" }, "info": { "type": "object", "description": "An optional info object containing error dependent information" } }
|
| 405 | Method not supported for this resource | { "message": { "type": "string", "description": "A descriptive error message" }, "code": { "type": "string", "description": "A textual error code" }, "status": { "type": "integer", "description": "A corresponding HTML status code" }, "info": { "type": "object", "description": "An optional info object containing error dependent information" } }
|
| 500 | Internal server error | { "message": { "type": "string", "description": "A descriptive error message" }, "code": { "type": "string", "description": "A textual error code" }, "status": { "type": "integer", "description": "A corresponding HTML status code" }, "info": { "type": "object", "description": "An optional info object containing error dependent information" } }
|