Topics List
Retrieve a list of topics.
Parameters:
| Name | Type | Mandatory | Description |
|---|---|---|---|
| name | STRING | NO | Filter by name. Parts of topic name |
| startDate | ISO 8601 | NO | Date of create topic, from INCLUSIVE |
| endDate | ISO 8601 | NO | Date of create topic, until EXCLUSIVE |
| beforeId | STRING | NO | Request page before (newer) this pagination id. Pagination’s param. |
| afterId | STRING | NO | Request page after (older) this pagination id. Pagination’s param. |
| limit | INT | NO | Number of results per request. Default 500; max 1000. Pagination’s param. |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
>>>
{
"jsonrpc": "2.0",
"id": 42,
"method": "topic.list",
"params": {
"limit": 2,
"name": "pic",
"startDate": "2020-01-01T00:00:00.000Z"
}
}
<<<
{
"jsonrpc": "2.0",
"id": 42,
"result": {
"$schema": "https://docs.edgebus.io/schemas/v2/topic/topic-list.json",
"limit": 2,
"prevId": null,
"nextId": "EBT-53e482daa5c2423892a2d26b0544371e",
"items": [
{
"topicId": "EBT-d59d07b1e5da42d6bcb46fb2658c5aaf",
"name": "topic1.yourdomain.ltd",
"mediaType": "application/vnd.edgebus.http",
"description": "...",
"createAt": "2020-01-14T22:17:32.324Z",
"deleteAt": null
},
{
"topicId": "EBT-e4b4fc066cbf4f568ef1d7d15f91a742",
"name": "topic2.yourdomain.ltd",
"mediaType":"application/json",
"description": "...",
"createAt": "2020-01-14T22:17:32.324Z",
"deleteAt": null
}
]
}
}