RankingField
objects allow you to define task to rank task attachments.
Returns a list
response with ordered options.
{
"type": "ranking_order",
"field_id": "relevance_ranking",
"title": "Rank titles based on their relevance to the article",
"hint": "From the most relevant to the least one",
"first_label": "Best",
"last_label": "Worst",
"num_items_to_rank": 3
}
Parameter | Type | Default | Description |
---|---|---|---|
title | string | undefined | A brief description about what the response should be. This may change among tasks within a project. |
hint | string | undefined | An array of child UnitField and FieldSet objects. Must contain at least 2 elements. |
first_label | string | undefined | Determines whether or not all . |
last_label | string | undefined | |
num_items_to_rank | integer | 3 | The number of options required to rank (can be less than number of attachments). |
required | boolean | false | Determines whether or not all num_items_to_rank fields should filled. |