Skip to content
GitmoapAPIBeta
Schema

UpdateCriterionRequest

Edit one criterion. Every field is optional; absent means "leave alone".

Shape

  • bindingCriterionBinding or nulloptional{"binding": {...}} re-binds it and resets its evidence, {"binding": null} turns it into a manual checkbox, and omitting the key leaves the binding untouched.
  • checkedboolean or nulloptionalTick or untick a manual criterion. Refused with a 409 for a bound one, whose state comes from its evidence.
  • descriptionstring or nulloptional
  • ordinalinteger · int32 or nulloptional0–∞
  • required_for_closeboolean or nulloptional
  • textstring or nulloptional

Example

Synthesized example
{
"binding": {
"kind": "test",
"test_id": "c8d99d00-73c0-43b7-8eef-763ea512c7dd",
"suite": "suite-5cbc"
},
"checked": false,
"description": "Renders each region as density contours of its operations.",
"ordinal": 25,
"required_for_close": false,
"text": "text-c3d1"
}

Graph

Used inside

No schema contains this one.

Used by

Returned by 0 operations

No operation returns it directly.