Fimfiction Developers

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

GET /users/:id

Return a user by id


Returns

user


Parameters

id required The numeric id of the user. Can also be set to me to return for the currently authenticated user.
GET /users/:id/stories

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
GET /users/:id/blog-posts

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 ]

POST /users/:id/following

Follow a user from :id. Submit a follow object which contains the following relationship for the user you wish to follow.


Returns

follow


Body

follow


Scopes


Parameters

id required The numeric id of the user. Can also be set to me to return for the currently authenticated user.
DELETE /users/:id/following/:following_id

Unfollow a user


Scopes


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.