Query Filter (Object)

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

 

STRUCTURE

{
    "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.

{
    "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.

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

 

Filter by worker

Filter by segment text by worker.

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

 

Filter by status

Filter by segment by status.

{
    "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.

{
    "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.

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

 

Filter by label

Filter by segment by label.

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

 

Filter by last editor

Filter by segment by last editor type.

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

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

Copyright Wordbee - Buzzin' Outside the Box since 2008