Sharing Analytics API \ List all snapshots

Send a GET request to this resource to obtain the list of your snapshots.

Sharing Analytics API Resources/URI GET POST PUT DELETE
Sharing Analytics Snapshots /sharing/analytics/snapshots.<format> List all Snapshots Initiate a new Snapshot
Sharing Analytics Snapshot /sharing/analytics/snapshots/<sharing_analytics_snapshot_token>.<format> Read details of a Snapshot Delete a Snapshot

Workflow

1. Request: the code to send to the API

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

2. Result: the code returned by the API

The API will return the list of your snapshots. Each entry contains a <sharing_analytics_snapshot_token> that uniquely identifies the snapshot. Use this token to obtain more details about the corresponding snapshot.

The sharing_message property indicates for which message the snapshot has been created.

	{
	  "response": {
	    "request": {
	      "date": "Fri, 27 Jan 2012 15:43:10 +0100",
	      "resource": "/sharing/analytics/snapshots.json",
	      "status": {
	        "flag": "success",
	        "code": 200,
	        "info": "Your request has been processed successfully"
	      }
	    },
	    "result": {
	      "data": {
	        "sharing_analytics_snapshots": {
	          "count":2,
	          "entries": [
	            {
	              "sharing_analytics_snapshot_token": "080bf89e-8b59-46e6-945c-93fe64a7ce1a",
	              "date_initiated": "Thu, 26 Jan 2012 12:09:35 +0100",
	              "sharing_message": {
	                "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 13:30:02 +0100"
	              }
	            },
	            {
	              "sharing_analytics_snapshot_token": "184c6ba6-49cf-465d-b6f0-77863e84537f",
	              "date_initiated": "Thu, 26 Jan 2012 19:51:45 +0100",
	              "sharing_message": {
	                "sharing_message_token": "221c7bdf-d2b7-4ee4-99f4-34d0d550ecf6",
	                "date_creation": "Tue, 24 Jan 2012 23:38:55 +0100",
	                "date_last_published": "Tue, 24 Jan 2012 23:38:56 +0100"
	              }
	            }
	          ]
	        }
	      }
	    }
	  }
	}