API

/api/reference/context_locale/search

/api/reference/context_locale/search ​

This page is built from the JSON Schema snapshot in the documentation repository. The snapshot is updated by a separate command from the main app catalog and is not rewritten when the site is built.

Request ​

main-app://schemas/api_references/context_locale/search.request.json

REQUEST /api/reference/context_locale/search

NameTypeRequiredConstraint
filtersarray of objectNo-
optionsobjectNoother fields allowed
responseanyNo-

Other top-level fields are allowed.

filters[] ​

NameTypeRequiredConstraint
objectobjectYesother fields allowed
operatorstringYes-
valueanyNo-

filters[].object ​

NameTypeRequiredConstraint
elementstringYes-
attributestringYes-

options ​

NameTypeRequiredConstraint
addarray of stringNo-

Response ​

main-app://schemas/api_references/context_locale/search.response.json

RESPONSE /api/reference/context_locale/search

NameTypeRequiredConstraint
api_codeintegerYesconst 200
api_resultarray of object | booleanYes-
emptybooleanNo-

Other top-level fields are not allowed.

Source schema ​

The files below are copied from the snapshot unchanged. A $ref fragment is a separate block. The schemas are not merged.

Request: main-app://schemas/api_references/context_locale/search.request.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_references/context_locale/search.request.json",
  "title": "REQUEST /api/reference/context_locale/search",
  "$ref": "main-app://schemas/_shared/search.request.json"
}
Fragment: main-app://schemas/_shared/search.request.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/_shared/search.request.json",
  "title": "Typical /web_api/{entity}/search body",
  "type": "object",
  "properties": {
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["object", "operator"],
        "properties": {
          "object": {
            "type": "object",
            "required": ["element", "attribute"],
            "properties": {
              "element": { "type": "string" },
              "attribute": { "type": "string" }
            },
            "additionalProperties": true
          },
          "operator": { "type": "string" },
          "value": true
        },
        "additionalProperties": true
      }
    },
    "options": {
      "type": "object",
      "properties": {
        "add": {
          "type": "array",
          "items": { "type": "string" }
        }
      },
      "additionalProperties": true
    },
    "response": true
  },
  "additionalProperties": true
}
Response: main-app://schemas/api_references/context_locale/search.response.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_references/context_locale/search.response.json",
  "title": "RESPONSE /api/reference/context_locale/search",
  "$ref": "main-app://schemas/_shared/search.response.json"
}
Fragment: main-app://schemas/_shared/search.response.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/_shared/search.response.json",
  "title": "Typical search success. Empty list is api_result false, not [].",
  "allOf": [
    { "$ref": "main-app://schemas/_shared/envelope-success.json" },
    {
      "type": "object",
      "properties": {
        "api_result": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            { "const": false }
          ]
        }
      }
    }
  ]
}
Fragment: main-app://schemas/_shared/envelope-success.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/_shared/envelope-success.json",
  "title": "Canonical success envelope",
  "type": "object",
  "required": ["api_code", "api_result"],
  "properties": {
    "api_code": { "const": 200 },
    "api_result": true,
    "empty": { "type": "boolean" }
  },
  "additionalProperties": false
}

Version 1.0.0 · Last updated 2026-10-07

Did this page help?