Connection API \ List all connections

Send a GET request to this resource to retrieve the complete list of social network connections made to your Site.

Resource/URI GET POST PUT DELETE
Connections /connections.<format> List all connections
Connection /connections/<connection_token>.<format> Read connection details

Workflow

1. Request: the code to send to the API

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

2. Result: the code returned by the API

The API will return the list of connections made to the Site. Each entry contains a connection_token that uniquely identifies the connection. You can use the connection_token to obtain the details of the social network profile that has been used to connect.

Example for a list of connections

	{
		"response": {
			"request": {
				"date": "Thu, 25 Aug 2011 16:31:16  0200",
				"resource": "/connections.json",
				"status": {
					"flag": "success",
					"code": 200
				}
			},
			"result": {
				"data": {
					"connections": 
						"count": 2,
						"entries": [
							{			
								"connection_token": "7a559a39-51a5-4f21-92aa-cc880da2233f",
								"callback_uri": "https://app.oneall.com/social-connect/",
								"status": "succeeded",
								"date_creation": "Tue, 23 Aug 2011 14:12:01  0200",												
	      			},      		
	      			{
	      				"connection_token": "7a559a39-51a5-4f21-92aa-cc880da2233f",
								"callback_uri": "https://app.oneall.com/social-connect/",
								"status": "succeeded",
								"date_creation": "Tue, 23 Aug 2011 14:16:11  0200",						
	      			}      		
						]
					}
				}
			}
		}
	}