GET /topics

Retrieves a list of topic names.


Depending on the configuration, the type of information retrieved has different behavior. See the and rest.proxy.backend parameters in 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 and rest.proxy.backend=streams Returns {"error_code":80001,"message":"MapR Streams does not currently support this API Set the parameter to return topics for the default stream"} is not defined and rest.proxy.backend=hybrid Returns list of Apache Kafka topics.



Request Example

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

Response Example