Social Sharing API \ List all published messages

Send a GET request to this resource to retrieve the complete list of published messages.

Social Sharing API Resources/URI GET POST PUT DELETE
Sharing Messages /sharing/messages.<format> List published messages Publish a new message
Sharing Message /sharing/messages/<sharing_message_token>.<format> Get message details Re-Publish a message Delete a message

Workflow

1. Request: the code to send to the API

Send a GET request to the resource /sharing/messages.<format> to obtain the list of sharing messages.

2. Result: the code returned by the API

The API will return a list of sharing messages. Each message contains a <sharing_message_token> that uniquely identifies the message. Use this token to obtain more details about the message.

	{
	  "response": {
	    "request": {
	      "date": "Fri, 27 Jan 2012 16:33:13 +0100",
	      "resource": "/sharing/messages.json",
	      "status": {
	        "flag": "success",
	        "code": 200,
	        "info": "Your request has been processed successfully"
	      }
	    },
	    "result": {
	      "data": {
	        "sharing_messages": {
	          "count": 2,
	          "entries": [
	            {
	              "sharing_message_token": "09d593eb-7f50-4da9-bcb9-b36dd30f650e",
	              "date_creation": "Wed, 21 Dec 2011 01:31:20 +0100",
	              "date_last_published": "Fri, 27 Jan 2012 16:30:03 +0100"
	            },
	            {
	              "sharing_message_token": "a33ee832-4cb4-4fea-a6ca-9e93a8271380",
	              "date_creation": "Wed, 21 Dec 2011 18:01:29 +0100",
	              "date_last_published": "Wed, 21 Dec 2011 18:01:30 +0100"
	            }
	          ]
	        }
	      }
	    }
	  }
	}