I want to create an elastic query for following response

{
  "items": [
{
  "data": "a",
  "status": "#FF0000",
  "level": "0",
  "children": [
    {
      "data": "b",
      "status": "#FF0000",
      "level": "1"
    },
    {
      "data": "c",
      "status": "#FF0000",
      "level": "1",
      "children": [
        {
          "data": "d",
          "status": "#FF0000",
          "level": "2"
        },
        {
          "data": "e",
          "status": "#FF0000",
          "level": "2"
        }
      ]
    }
  ]
}
  ]
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.