From 96aae7cca88240efa34116236179e10ab2899948 Mon Sep 17 00:00:00 2001 From: yanyanhu Date: Tue, 16 Aug 2016 04:15:30 -0400 Subject: [PATCH] Fix a minor error in API reference Based on test result, response body of claim messages API includes a top level key "messages" whose vlaue is a list of messages being successfully claimed. This patch revises corresponding sample in API reference. Change-Id: I72b7b7a59e9c54c398448e474d2d13f77454e29c --- .../samples/claim_messages_response.json | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/api-ref/source/samples/claim_messages_response.json b/api-ref/source/samples/claim_messages_response.json index 2ec6acbbf..b6347d401 100644 --- a/api-ref/source/samples/claim_messages_response.json +++ b/api-ref/source/samples/claim_messages_response.json @@ -1,10 +1,12 @@ -[ - { - "body": { - "event": "BackupStarted" - }, - "age": 239, - "href": "/v2/queues/demoqueue/messages/51db6f78c508f17ddc924357?claim_id=51db7067821e727dc24df754", - "ttl": 300 - } -] \ No newline at end of file +{ + "messages": [ + { + "body": { + "event": "BackupStarted" + }, + "age": 239, + "href": "/v2/queues/demoqueue/messages/51db6f78c508f17ddc924357?claim_id=51db7067821e727dc24df754", + "ttl": 300 + } + ] +}