summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-06-24 22:02:48 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-06-24 22:08:38 -0700
commit8bbb9a61ac02acd0fb723009a78dbdc810d5e20a (patch)
tree652a20f03e36d1b301d95d99a2c06e31f73d7469 /README.md
parent12c52e56038b7cdb9c1f64b227136f1f0ed3247e (diff)
binding: bluetooth-map: make list_messages response more consistent
To be more consistent with other verb responses from other bindings put all the messages in a similiar named parameter. This allows parsing to be easier from consumers, and allows future field additions. Bug-AGL: SPEC-2512 Change-Id: I76131747f950e052de9ba206c0b2bf1274509e33 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md37
1 files changed, 20 insertions, 17 deletions
diff --git a/README.md b/README.md
index d51e00e..8aa21e0 100644
--- a/README.md
+++ b/README.md
@@ -79,23 +79,26 @@ Response which the message handle as the key and includes its properties:
<pre>
{
"response": {
- "message288230376151711769": {
- "folder": "/telecom/msg/INBOX",
- "subject": "Meet at Victor 23 at 6p?",
- "timestamp": "20190614T093341",
- "sender": "",
- "senderaddress": "+13605551212",
- "recipient": "",
- "recipientaddress": "",
- "type": "sms-gsm",
- "size": 24,
- "status": "complete",
- "priority": false,
- "read": false,
- "sent": false,
- "protected": false
- },
- ...
+ "messages": {
+ "message288230376151711769": {
+ "folder": "/telecom/msg/INBOX",
+ "subject": "Meet at Victor 23 at 6p?",
+ "timestamp": "20190614T093341",
+ "sender": "",
+ "senderaddress": "+13605551212",
+ "recipient": "",
+ "recipientaddress": "",
+ "type": "sms-gsm",
+ "size": 24,
+ "status": "complete",
+ "priority": false,
+ "read": false,
+ "sent": false,
+ "protected": false
+ },
+ ...
+ }
+ }
},
</pre>