Messaging
post/api/v2/messages
Request
- The document declares no server URL.
- Auth: HTTP bearer
Request body
Example request
{
"fqcn": "channel.name",
"initiatingMessageId": "507f1f77bcf86cd799439011",
"initiatingTransactionId": "8ac55aa7-7d6d-438a-98bd-376079903c7b",
"topicVersion": "1.0.0",
"topicOwner": "aemo.edge",
"payload": "{ data: 49 }"
}Response
Message sent successfully
Example response
{
"clientGatewayMessageId": "0b271eb8-1e21-4817-95af-7951649360ed",
"did": "did: ethr: volta: 0x09Df5d33f1242E1b8aA5E0E0F6BfA687E6846993",
"recipients": {
"total": 3,
"sent": 2,
"failed": 1
},
"status": [
{
"details": [
{
"did": "did:ethr:volta:0x09Df5d33f1242E1b8aA5E0E0F6BfA687E6846993",
"messageId": "623c875beaa0422bfc19b1ce",
"statusCode": 200
}
],
"name": "SENT or FAILED"
}
]
}Changes
- info
api operation id
MessageControlller_createremoved and replaced withMessageController_create
- info
- info
added the new optional request property
- info
added the new optional request property
- info