GET login/sign ins/:id

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
#REDIRECT [[GET login/sign ins/:id PT-BR]]
+
== Description ==
 +
 
 +
Returns sign in information. Every time an user logs in Social Login, a new sign in is created for him.
 +
 
 +
== Resource URL ==
 +
 
 +
  GET https://api.socialidnow.com/v1/marketing/login/sign_ins/:id
 +
 
 +
== Parameters ==
 +
 
 +
=== URL Parameters ===
 +
 
 +
{|
 +
! align="left" width="200px" | id
 +
| width="200px" | required
 +
| sign in identifier.
 +
|}
 +
 
 +
== Authentication ==
 +
 
 +
This API requires Marketing Account authentication. See [[Authentication]].
 +
 
 +
== Response ==
 +
 
 +
=== Response Status ===
 +
 
 +
{|
 +
! align="left" width="200px" | connection
 +
| user active connection url.
 +
|-
 +
! align="left" width="200px" | connection_id
 +
| user active connection id.
 +
|-
 +
! align="left" width="200px" | login_token
 +
| a token to identify the login. See [[Social Login Tokens]] for more details.
 +
|-
 +
! align="left" width="200px" | user_id
 +
| user identifier.
 +
|}
 +
 
 +
== Examples ==
 +
 
 +
=== Request ===
 +
 
 +
  curl -X GET 'https://api.socialidnow.com/v1/marketing/login/sign_ins/:id' \
 +
        --user <api_id>:<api_secret>
 +
 
 +
=== Response ===
 +
 
 +
==== Response Body ====
 +
 
 +
{
 +
  "connection":"https://api.socialidnow.com/v1/marketing/login/connections/a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452",
 +
  "connection_id":"a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452",
 +
  "login_token":"184cbcf30260b81d061e1f3903bf372089b48c7f5c1fd90649e14b6f17ed6a56",
 +
  "user_id":340
 +
}

Revision as of 01:37, 4 November 2014

Contents

Description

Returns sign in information. Every time an user logs in Social Login, a new sign in is created for him.

Resource URL

  GET https://api.socialidnow.com/v1/marketing/login/sign_ins/:id

Parameters

URL Parameters

id required sign in identifier.

Authentication

This API requires Marketing Account authentication. See Authentication.

Response

Response Status

connection user active connection url.
connection_id user active connection id.
login_token a token to identify the login. See Social Login Tokens for more details.
user_id user identifier.

Examples

Request

 curl -X GET 'https://api.socialidnow.com/v1/marketing/login/sign_ins/:id' \
        --user <api_id>:<api_secret>

Response

Response Body

{
  "connection":"https://api.socialidnow.com/v1/marketing/login/connections/a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452", 
  "connection_id":"a4b4cee9c05774d8b6e2427818f8e7866363eff0ea6c69edec8ac32dd0b71452",
  "login_token":"184cbcf30260b81d061e1f3903bf372089b48c7f5c1fd90649e14b6f17ed6a56",
  "user_id":340
}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox