Social Accounts
Get a social account by provider name
GET
Accept*stringapplication/json
Content-Type*stringapplication/json
Ok
application/json- response
id*integerThe ID of the given social account
user_id*integerThe current user's ID
provider*SocialAccountProviderThe name of the Social Authentication provider
Value in
"bitbucket""clerk""facebook""github""gitlab""google"provider_human_readable*SocialAccountDisplayableNameA formatted version of the provider field value, aligned with the provider's name branding
Value in
"Bitbucket""Clerk""Facebook""GitHub""GitLab""Google"provider_user_nickname*stringThe nickname of the user on the Source Authentication provider
is_vcs*booleanTells if the social account provider is a Source Code Provider/Version Control System. e.g. false for Facebook, true for Github
token_expires_at*|The date and time indicating when the authentication token will expire at
created_at*stringThe date and time when the record was created
updated_at*stringThe date and time when the record was last updated
curl -X GET 'https://api.devopness.com/social-accounts/gitlab' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <your_api_token>' \ -H 'Content-Type: application/json'Example Response
{ "id": 85324, "user_id": 6589, "provider": "github", "provider_human_readable": "GitHub", "provider_user_nickname": "Joe Smith", "is_vcs": true, "token_expires_at": "2020-09-25T15:50:48.000000Z", "created_at": "2019-09-25T15:50:48.000000Z", "updated_at": "2019-09-25T15:50:48.000000Z"}