GET /topics

Retrieves a list of topic names.


Depending on the configuration, the type of information retrieved has different behavior. See the parameter in Kafka REST Configuration Parameters

Table 1.
Parameters Defined Response is defined

Returns a list of topic names in the default stream.

Returns topic names that contain a stream path. is not defined Returns {"error_code":80001,"message":"MapR-ES does not currently support this API. Set the parameter to return topics for the default stream"}



Request Example

$ curl "http://localhost:8082/topics"

Response Example