Skip to main content

Query Filter (Object)

This object is used to limit segments returned by segments query.

 

STRUCTURE

CODE
{
    "key":"filter type", // type of filter
    "filter":{
        "value":[], // value applicable for this filter
        "option": "option value" // option applicable for this filter
    }
}

Segments query :

Filter by text

Filter by segment text.

CODE
{
    "key":"global",
    "filter":{
        "value":["Text 1", "Text 2"], // The segment text need contains "Text 1" OR "Text 2"
        "caseSensitive": true, // The search can be case sensitive
        "exactMatch": true // The phrase can be exact match with phrase
    }
}

 

Filter by segment id

Filter by segment text.

CODE
{
    "key":"segmentid:",
    "filter":{
        "value":[185, 2598] // Search segment 185 and 2598
    }
}

 

Filter by worker

Filter by segment text by worker.

CODE
{
    "key":"worker:",
    "filter":{
        "value":[185] // Search Segment updated by worker id is 185
    }
}

 

Filter by status

Filter by segment by status.

CODE
{
    "key":"status:",
    "filter":{
        "value":["Problem"] // Search Segment with status is "Problem"
    }
}
Available values
  • Ok
  • Problem
  • None

Filter by status

Filter by segment text by bookmarks.

CODE
{
    "key":"bookmarks:",
    "filter":{
        "value":["Level1"] // Search segments with bookmark is "Level1"
    }
}
Available values
  • None
  • Level1 - Red
  • Level2 - Blue

Filter by comments

Filter by segment with comments.

CODE
{
    "key":"hasComments?",
    "filter":{}
}

 

Filter by label

Filter by segment by label.

CODE
{
    "key":"label:",
    "filter":{
		"value":["checked"] // Search segments contains "checked" label.
	}
}

 

Filter by last editor

Filter by segment by last editor type.

CODE
{
    "key":"lastEditor:",
    "filter":{
		"value":["Human"] // Search segments with lastEditor is "Human"
	}
}

Available values
  • None
  • Human
  • RefMaterialIdentical
  • RefMaterialFuzzy
  • RuleBased
  • MachineTranslation
  • PreviousVersion
  • PreviousVersionCtx
  • MachineCorrection
  • RefMaterialCt
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.