Login & Management APIs
(Difference between revisions)
Renato.neves (Talk | contribs) (→Users) |
Renato.neves (Talk | contribs) |
||
Line 156: | Line 156: | ||
| [[PUT login/users/:user_id/data]] | | [[PUT login/users/:user_id/data]] | ||
| Updates user custom profile information. | | Updates user custom profile information. | ||
+ | |} | ||
+ | |||
+ | == Clustering <span style="color: red">[experimental]</span> == | ||
+ | |||
+ | {| | ||
+ | ! align="left" width="300px"| Resource | ||
+ | ! align="left"| Description | ||
+ | |- | ||
+ | | [[GET login/apps/clustering/rules]] | ||
+ | | Returns login app clustering rules. | ||
+ | |- | ||
+ | | [[PUT login/apps/clustering/rules]] | ||
+ | | Updates login app clustering rules. | ||
+ | |- | ||
+ | | [[GET login/users/:user_id/clustering/features]] | ||
+ | | Returns user clustering features. | ||
|} | |} |
Revision as of 00:36, 12 July 2015
Contents |
Info
Resource | Description |
---|---|
GET login/info | Validates the token given to the callback_url and returns social login information. |
Sign ins
Resource | Description |
---|---|
GET login/sign_ins/:id | Returns sign_in information. |
POST login/apps/:app_id/sign_ins | Creates a new sign_in given a user_id. |
POST login/apps/:app_id/sign_ins/facebook | Creates a new sign_in given a Facebook credential. |
POST login/apps/:app_id/sign_ins/twitter | Creates a new sign_in given a Twitter credential. |
POST login/apps/:app_id/sign_ins/linkedin | Creates a new sign_in given a LinkedIn credential. |
POST login/apps/:app_id/sign_ins/gplus | Creates a new sign_in given a Google+ credential. |
Connections
Resource | Description |
---|---|
DELETE login/connections/:id | Closes a connection (logout). |
POST login/apps/:app_id/connections/email | Creates a connection given an e-mail. |
POST login/connections/:id | Keeps the connection alive. |
Users
Resource | Description |
---|---|
GET login/users/:user_id | Returns user information, including his/her profile (if required). |
GET login/users/:user_id/profile | Returns the user profile (complete or partial). |
PUT login/users/:user_id/token | Generates a new token (user_token) for the user. |
PUT login/users/:user_id/move_to/:target_id | Moves the user data to another user and then removes user. |
POST login/users | Creates a new user manually, given username and/or e-mail. |
PUT login/users/:user_id | Updates username/e-mail/password information of an user. |
DELETE login/users/:user_id | Deletes an user. |
GET login/users/find_by | Finds a user by username or e-mail. |
POST login/users/login | Creates a sign in for a user given its password and username or e-mail. |
PUT login/users/:user_id/activate | Activates a user for login. |
PUT login/users/:user_id/deactivate | Deactivates a user for login. |
POST login/users/reset_password_email | Sends a reset password e-mail for a user given its username or e-mail. |
POST login/users/reset_password | Resets the password for a user given a reset password token. |
POST login/users/send_email_confirmation | Sends an e-mail confirmation for a user given its username or e-mail. |
Resource | Description |
---|---|
POST login/users/:user_id/updates/facebook | Posts a message to the user Facebook timeline. |
POST login/users/:user_id/notifications/facebook | Posts a Facebook notification to the user. |
GET login/users/:user_id/friends/facebook | Get Facebook user friends. |
User Mac Address
Resource | Description |
---|---|
POST login/users/:user_id/mac_addresses | Creates a new mac address associated with a user. |
User MPact Client
Resource | Description |
---|---|
POST login/users/:user_id/mpact_client_ids | Creates a new MPact client associated with a user. |
Social Apps
Resource | Description |
---|---|
GET login/apps/social_apps | Returns all Social Apps from the Social Login App. |
User Data
Resource | Description |
---|---|
GET login/users/:user_id/data | Returns user custom profile information. |
PUT login/users/:user_id/data | Updates user custom profile information. |
Clustering [experimental]
Resource | Description |
---|---|
GET login/apps/clustering/rules | Returns login app clustering rules. |
PUT login/apps/clustering/rules | Updates login app clustering rules. |
GET login/users/:user_id/clustering/features | Returns user clustering features. |