Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 quality node

Name

Type

Info

qid

int

id of the quality (may be null for programmatical items)

qtype

string

type of the quality

qcategorystringcategory of the quality (NULL for rubrics)
qcoutint

number of segments with this quality

qtotalintnumber of segments for the whole branch from here (only nodes with children)
textstring

translated display text of the quality

leafbooleanif the node has children

checked

booleanif the node is selected
childrenarraytree 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

fieldstringfield the quality refers to
typeint

type of the quality

categoryintcategory of the quality
categoryIndexstring

Special for qm & mqm qualities: index of the defining model

falsePositiveint0|1

typeText

booleantranslated name of the type
textarraytranslated display name of the quality
filterablebooleanif the quality appears in the filter
hasTagbooleanif the quality is represented by a tag in the segment text
tagNamestringidentidying node name of the tag
cssClassstringidentidying css classname of the tag



QA-Statistics Download URL

... in progress ...

...

URL:

/editor/quality/downloadstatistics?taskGuid=[GUID]&type=[TYPE]
[GUID] is the taskGuid of the task to get the statistics from.
[TYPE] is the fieldname of the datafield to get the statistics from (optional)

Available Methods:

GET (list only)

Specialities:

returns a XML file with all qualities for the task