Get One User’s Follower List

Synopsis

GET           https://api.aminer.org/api/social/follower/list/uid/:uid/offset/:offset/size/:size

Description

Return one user’s followers’ list.

Request Parameters

Embedded In URL

  • uid - user id
  • offset - offset of following person
  • size - size of maximum returned following person, it shall in range [1,100]

Headers

  • Authorization - JWT Token is required

Response

On Success

{
    "status" : true,
    "data" : [
        {
            <user element:User#2>
        },
        ...
    ]
}

TODO: Person#2’s Schema

On Failure: Incorrect JWT Token

{
    "status" : false,
    "message" : "security.not_authorized"
}

On Failure: User Have Not Binded One Profile

{
    "status" : false,
    "message" : "user.not_binded"
}

On Failure: System error, User Not Found

{
    "status" : false,
    "message" : "user.data_not_found"
}

See Also