DEV Community

joinmoin0002
joinmoin0002

Posted on

Create filter

.

{
"filters": [
{
"type": "hierarchy",
"items": [
{ "id": "1234fvg45g5456b" },
{ "id": "drvf34v45v45v44" }
]
},
{
"type": "metrics",
"items": [
{
"id": "metric id",
"description": "<- create filter to the entire metric: all metrics blocks and its results"
},

.

            {
                "id": "metric id",
                "blocks": [
                    {
                        "id": "block id"
                        "description": "<- create filter to particular metric block(s)"
                    }
                ]
            },
            {
Enter fullscreen mode Exit fullscreen mode

.
"id": "metric id",
"blocks": [
{
"id": "block id",
"items": [
{ "id": "block result id" }
]
}
]
},
]
},
{
"type": "emerge",
"items": [ ]
}
]
}

.

Discussion (0)