Skip to content

Maha Validate query request before actually query #635

@YixianNiu

Description

@YixianNiu

Hi,
We are making a API endpoint which checks whether a request query to maha is valid or not. The query looks like this:
`{
"cube":"fake_cube",
"selectFields":[
{
"field":"fake ID"
}
],
"filterExpressions":[
{
fake filter
},

],
"sortBy":[
{
"field":"fake Id",
"order":"Desc"
}
],
"rowsPerPage":10
}`

We want to check whether the field, cube , filter etc are right. Is there any method that can validate the request before process the query?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions