Messaging
get/api/v2/messages
Request
- The document declares no server URL.
- Auth: HTTP bearer
Query parameters
fqcnstring required
channel name
fromstring
date from which messages to be fetched
amountnumber
Latest amount of messages to be fetched
topicNamestring
topic name
topicOwnerstring
application namespace
clientIdstring
cursor for pointing to messages
initiatingMessageIdstring
Initiating message id
initiatingTransactionIdstring
Initiating transaction id
transactionIdstring
Initiating transaction id
messageIdstring
Message id
messageIdsstring
Message id array as comma separated string
Response
Message received successfully
Example response
[
{
"id": "110",
"topicName": "getOperatingEnvelope",
"topicOwner": "torta.apps.eggplant.vege.iam.ewc",
"topicVersion": "1.0.0",
"topicSchemaType": "JSD7",
"payload": "{\"fileId\":\"624bfd4f4c6cf04abfc20041\"}",
"signature": "0x0abc6026b01856a756de47ec6f44d9c14fe69009bbf3b9b6cf522d8d783a1c654425848381affca5dab9284d8715fa2f9e34155374bafd923d75c219496cbe161c",
"sender": "did:ethr:volta:0x03830466Ce257f9B798B0f27359D7639dFB6457D",
"timestampNanos": 1649147198388,
"transactionId": "1649147198388",
"signatureValid": "SUCCESS",
"relatedMessagesCount": 5
}
]Changes
- info
added the new optional
queryrequest parametermessageIds
- info
- info
api operation id
MessageControlller_getMessageremoved and replaced withMessageController_getMessage
- info