List topic messages by id
Changed onReturns the list of topic messages for the given topic id.
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/topics/{topicId}/messages
- Authnone declared
Path parameters
Network entity ID in the format of shard.realm.num
Topic id
Query parameters
The maximum number of items to return
The order in which items are listed
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
Response
OK
Example response
{
"messages": [
{
"chunk_info": {
"initial_transaction_id": "0.0.10-1234567890-000000321",
"nonce": 3,
"number": 1,
"total": 2,
"scheduled": true
},
"consensus_timestamp": "1234567890.000000001",
"message": "bWVzc2FnZQ==",
"payer_account_id": "0.0.10",
"running_hash": "cnVubmluZ19oYXNo",
"running_hash_version": 2,
"sequence_number": 1,
"topic_id": "0.0.7"
}
]
}Changes
- breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status
- breaking