raystack/compass

feat: get assets api to allow filtering out empty value

StewartJingga opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
I have an asset with below format

{
  "id": ...,
  "data": {
    "properties": {
      "dependencies": [
        "itemA",
        "itemB",
        "itemC",
        "itemD"
      ]
    }
  }
}

When using [GET] /v1beta/assets, I want to be able to filter out assets with empty data.properties.dependencies.

Describe the solution you'd like
A new querystring to filter empty fields in data.