users

GET /users/me/subsamples/{poll_name}/

Changed on

Return a sub-sample of entities rated by the logged-in user.

Entities are ranked by the individual score computed for the poll's main criterion, in the descending order.

Request

  • The document declares no server URL.
  • Auth
    OAuth 2
    Password
    Token URL: http://127.0.0.1:8000/o/token/ scopes: read write groups

Path parameters

poll_namestring required

Query parameters

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

ntileinteger

Divide the rated entities into ntile ranked buckets, then pick one entity from each bucket.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

    • info

      added the required property /////// to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status