Solved

unexpected behavior from filter nodes API

  • 17 February 2023
  • 1 reply
  • 32 views

Userlevel 3
Badge

I’m experimenting with filter nodes https://pr-ark-codegen-1646.specs.preview.cogniteapp.com/v1.json.html#tag/Instances-(New)/operation/advancedListInstance using a payload like:

{
  "includeTyping": false,
    "sources": [
        {
            "source": {
                "type": "view",
                "space": "jca-domain",
                "externalId": "Facility",
                "version": "0_3"
            }
        }
    ],
  "instanceType": "view"
}

It seems to return entities not of the type of the given source (Facility/0_3). For example it returns Equipment/0_3 entities. Is this the expected behavior and do I have to separately filter for view type? If so how do I do that? Thanks.

icon

Best answer by Thomas Sjølshagen 18 February 2023, 14:37

View original

1 reply

Userlevel 3

Hi Juan, and thank you for reporting this. I’ve notified the teams of the issue using our internal problem reporting process.

Reply