Msgs

Topic List

List available topics in the given namespace

post/api/v1.msgs.topic.list

Request body

namespacestring nullable
consistency'strong' | 'weak'

Consistency level for reads.

Strong consistency (also known as linearizability) guarantees that a read will see all previous writes. Weak consistency allows stale reads, but can save one or more round trip to the leader.

limitinteger

Limit the number of returned items

iteratorstring nullable

The iterator returned from a prior invocation

Example request

{
  "namespace": "some_namespace",
  "iterator": "topiciter_c29tZV90b3BpY19uYW1l"
}

Response

iteratorstring nullable
prev_iteratorstring nullable
doneboolean required

Example response

{
  "data": [
    {
      "id": "topic_06etngr201xwv7qj08mt4cs03w",
      "name": "some_topic_name"
    }
  ]
}

Changes

Changed in 1 of the 58 revisions of this API.1