API v1 GET user - SpaceFlow/Backend GitHub Wiki

GET /v1/user/:userid

Returns the user-object of :userid (numeric value or "self").

No authorisation, therefore also no scope, is needed. But please be gentle to our servers. They're very shy and don't like it if somebody talks too much to them.

Example:

GET https://api.spaceflow.io/v1/user/1

Response:

{  
  "error":null,
  "results":{  
    "id":1,
    "username":"kirschn",
    "screen_name":"Kirschn",
    "profile_image_url":"https://i.kinja-img.com/gawker-media/image/upload/s--pEKSmwzm--/c_scale,fl_progressive,q_80,w_800/1414228815325188681.jpg",
    "bio":"i mog sterbn",
    "suspended":0
  }
}

Errors:

too damn lazy to write them down in a fancy pantsy table, its just USER_ID_NOT_FOUND (will also be returned if no id is supplied)