Get a list of user skills

  1. Request
  2. Headers
  3. Query parameters
  4. Query example
  5. Response

Gets the list of user skills.

Request

GET https://toloka.yandex.com/api/v1/user-skills
Authorization: OAuth <OAuth token>

Headers

Title Overview
authorization A token for account authorization. Add OAuth as a prefix.
Title Overview
authorization A token for account authorization. Add OAuth as a prefix.

Query parameters

Specified in the link after the question mark; separated by &.

Parameter Overview
user_id

string

User ID.

skill_id

string

Skill ID.

sort

string

Parameters for sorting in ascending order:

  • id — Skill ID.

  • created — Date the skill was created, in UTC in the format YYYY-MM-DD.

You can set multiple comma-separated parameters.

To change the sorting direction to descending, add the minus sign before the parameter. For example, sort=-id.

Standard query parameters limit, id_gt, id_gte, id_lt, id_lte, created_gt, created_gte, created_lt, created_lte, modified_gt, modified_gte, modified_lt, modified_lte
Parameter Overview
user_id

string

User ID.

skill_id

string

Skill ID.

sort

string

Parameters for sorting in ascending order:

  • id — Skill ID.

  • created — Date the skill was created, in UTC in the format YYYY-MM-DD.

You can set multiple comma-separated parameters.

To change the sorting direction to descending, add the minus sign before the parameter. For example, sort=-id.

Standard query parameters limit, id_gt, id_gte, id_lt, id_lte, created_gt, created_gte, created_lt, created_lte, modified_gt, modified_gte, modified_lt, modified_lte

Query example

You can set up the display of the list of skills in parts (for example, 10 skills at a time):
  1. Show the first 10 skills, starting with the skill with the lowest ID.
  2. Show the remaining skills (10 at a time) in ascending order.
Show the first 10 skills
GET https://toloka.yandex.com/api/v1/user-skills?sort=id&limit=10
Authorization: OAuth <OAuth token>
Show the remaining responses sorted by ascending ID
GET https://toloka.yandex.com/api/v1/skills?sort=id&limit=10&id_gt=<ID of the last skill from the previous response>
Authorization: OAuth <OAuth token>

Response

Skill properties in the items array:

{"items" : [{<user skill 1>}, {<user skill 2>}, ... {<user skill n>}], "has_more": false}