Query Messages
This use case queries Messages of the Identity.
Parameters
All parameters are optional. If no parameter is given, all Messages are returned.
isOwnindicates whether the querying Identity is theownerof the Message.createdByis the enmeshedaddressof the Identity that created the Messsage.createdByDeviceis theidof the Device that created the File.createdAtis the ISODateTime the Message was created at.attachmentsare the File ids of the respective attachments.recipients.addressare the enmeshed addresses of the Identities the Message was sent to.recipients.relationshipIdare the Relationship ids of the respective recipient.participantis either the enmeshed address of the sender or enmeshed addresses of the Identities the Message was sent to.content.@typethe type of structure of the Message’s contentcontent.bodythe body of the Mail, if the Message is of type Mailcontent.subjectthe subject of the Mail, if the Message is of type Mail
On Success
- Returns all Messages that match the
query.
On Failure
- The parameters are malformed.