Skillhive Developers

Users

Get user data through the Skillhive API

List all users in Skillhive

Endpoint: /api/user/

Method Action Parameters
GET List users
  • offset: int fetch profiles starting from (optional, default: 0)
  • limit: int how many profiles to get (optional, default: 20, limit 0-50)
  • Optional search options:
    • skill[] Match users by these skills.

An example of a return response:

{
  "limit":20,
  "offset":0,
  "total_count":214,
  "previous":null,
  "next":"/api/user/?offset=20&limit=20",
  "collection": [
    {
      "id":12345,
      "name":"Test User",
      "uri":"/api/user/12345/",
      "description":"I'm just a PHP programmer.",
      "job_title":"PHP Coder.",
      "location": ["Helsinki", "Finland"],
      "department":["Research and Development"],
      "job_rotation":true,
      "profile_url":"https://skillhive.com/pg/profile/testuser@skillhive.com/",
      "icon_url":"https://skillhive.com/public/user/12345/icon/small/",
      "email":"testuser@skillhive.com",
      "phone":"412 4214 421421412",
      "mobile":"+358 40 123 4567",
      "twitter":"intunex",
      "linkedin_url":"http://linkedin.com/",
      "website":"http://intunex.fi",
      "competence":45,  // Competence and interest are only available
      "interest":52,    // if you are searching by skills.
      "resources":{
        "skills":"/api/user/12345/skill/"
      },
      "created_at" :
      "updated_at" :
    },
    ...
  ]
}

Fetch a single user profile

Endpoint: /api/user/:user_id/

Method Action Parameters
GET Get user profile defined by user_id N/A

An example of a return response:

{
  "id":12345,
  "uri":"/api/user/12345/",
  "name":"Test User",
  "description":"I'm just a PHP programmer.",
  "job_title":"PHP Coder.",
  "location":["Helsinki, Finland"],
  "department":["Research and Development", "Intunex HQ"],
  "job_rotation":true,
  "profile_url":"https://skillhive.com/pg/profile/testuser@skillhive.com/",
  "icon_url":"https://skillhive.com/public/user/12345/icon/small/",
  "email":"testuser@skillhive.com",
  "phone":"412 4214 421421412",
  "mobile":"+358 40 123 4567",
  "twitter":"intunex",
  "linkedin_url":"http://linkedin.com/",
  "website":"http://intunex.fi",
  "resources":{
    "skills":"/api/user/12345/skill/"
  },
  "created_at" :
  "updated_at" :
}