Get a list of Toloker skills

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

Gets a list of Toloker 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

Toloker ID.

skill_id

string

Skill ID.

sort

string

Parameters to sort by:

  • id — Skill ID.

  • created — The date when the skill was created, in UTC in the YYYY-MM-DD format.

  • created — The date when the skill was changed, in UTC in the YYYY-MM-DD format.

To learn how to configure sorting, see Sorting the list of objects.

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

Toloker ID.

skill_id

string

Skill ID.

sort

string

Parameters to sort by:

  • id — Skill ID.

  • created — The date when the skill was created, in UTC in the YYYY-MM-DD format.

  • created — The date when the skill was changed, in UTC in the YYYY-MM-DD format.

To learn how to configure sorting, see Sorting the list of objects.

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 tasks 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" : [{<Toloker skill 1>}, {<Toloker skill 2>}, ... {<Toloker skill n>}], "has_more": false}