Users
You're a user. They're a user. Everybody a user. read_user
lets you read private account information like email ( but not ever password of course! ) and write_user
is required to update account settings.
Relevant Scopes
read_user
write_user
Table of Contents
Return a user by id
Returns
Parameters
id required |
The numeric id of the user. Can also be set to me to return for the currently authenticated user. |
Return a list of the users stories. read_stories
is required to view unpublished stories
Returns
[ story ]
Parameters
id required |
The numeric id of the user. Can also be set to me to return for the currently authenticated user. |
Filters
published
published(bool)
|
Filter out stories where the status does not match published |
Return blog posts made by the user id. This is identical to a call to GET /blog-posts
with filter[author]
set to :id
Returns
[ blog_post ]
Follow a user from :id
. Submit a follow
object which contains the following
relationship for the user you wish to follow.
Returns
Body
Scopes
- write_followers - Required
Parameters
id required |
The numeric id of the user. Can also be set to me to return for the currently authenticated user. |
Unfollow a user
Scopes
- write_followers - Required
Parameters
id required |
The numeric id of the user. Can also be set to me to return for the currently authenticated user. |
following_id required | The numeric id of the user to unfollow. |