Provides access to the qualities of a task for the filter panel
URL: | /editor/quality |
Available Methods: | GET |
Parameters: | currentstate [string]: encoded value of the selected nodes and the current filter mode |
Specialities: | Only possible with a task in edit mode. Returns a JSON tree of qualities |
Resource Layout of a single filter quality node
Name | Type | Info |
qid | int | id of the quality (may be null for programmatical items) |
qtype | string | type of the quality |
qcategory | string | category of the quality (NULL for rubrics) |
qcount | int | number of segments with this quality |
qtotal | int | number of segments for the whole branch from here (only nodes with children) |
text | string | translated display text of the quality |
leaf | boolean | if the node has children |
checked | boolean | if the node is selected |
children | array | tree children of the node |
Provides access to the qualities of a segment for the false-positives and manual QA (whole segment) panel
URL: | /editor/quality/segment |
Available Methods: | GET |
Parameters: | segmentId [int] |
Specialities: | Only possible with a task in edit mode |
Resource Layout of a segment's quality
Name | Type | Info |
id | int | id of the quality |
segmentId | string | id of the segment the quality belongs to |
field | string | field the quality refers to |
type | int | type of the quality |
category | int | category of the quality |
categoryIndex | string | Special for qm & mqm qualities: index of the defining model |
falsePositive | int | 0|1 |
typeText | boolean | translated name of the type |
text | array | translated display name of the quality |
filterable | boolean | if the quality appears in the filter |
hasTag | boolean | if the quality is represented by a tag in the segment text |
tagName | string | identidying node name of the tag |
cssClass | string | identidying css classname of the tag |
Provides access to the qualities of a task
URL: | /editor/quality/task |
Available Methods: | GET |
Parameters: | taskGuid [string] |
Specialities: | Returns a JSON tree of qualities |
Resource Layout of a single task quality node
Name | Type | Info |
qid | int | id of the quality (may be null for programmatical items) |
qtype | string | type of the quality |
qcategory | string | category of the quality (NULL for rubrics) |
qcount | int | number of segments with this quality |
qcountfp | int | number of segments where this quality is regarded as false positive |
qtotal | int | number of segments for the whole branch from here (only nodes with children) |
text | string | translated display text of the quality |
leaf | boolean | if the node has children |
children | array | tree children of the node |
Provider vor the dynamic tooltip for the task overview quality column tooltip
URL: | /editor/quality/tasktooltip |
Available Methods: | GET |
Parameters: | taskGuid [string] |
Specialities: | Returns a HTML markup string with a summary of the task's qualities |
Adds / removes a "Manual QM (whole segment)" quality
URL: | /editor/quality/segmentqm |
Available Methods: | GET |
Parameters: | segmentId [int] segment to add or remove a qm for categoryIndex [int] category index of the qm to add or remove qmaction [string] "add"|"remove" |
Specialities: | In case of "add": Returns a single model for the new segments quality as described in "Resource Layout of a segment's quality" In case of "add": Returns a single object having only the "id" property of the removed quality |
Changes the false positive value for a single quality
URL: | /editor/quality/falsepositive |
Available Methods: | GET |
Parameters: | qualityId [int] falsePositive [int] 0|1 |
Specialities: | Returns a state if a quality tag was found in the segment's field text and was adjusted |
QA-Statistics Download URL
URL: | /editor/quality/downloadstatistics?taskGuid=[GUID]&type=[TYPE] |
Available Methods: | GET |
Specialities: | returns a XML file with all qualities for the task |