Filter by relation or app using the tape API

I was trying to create a filter using the API, however I didn’t find the structure in the documentation for the case of a related field. After some tests, I arrived at this structure and it worked (the values ​​are just illustrative):

"field_id": 250782, 
"field_type": "multi_relation",
'match_type': "contains", 
               "record_id": 1121111, 
               "app_id": 12345, 
               "title": "teste"
"type": "app"

Thanks for sharing @Hanniel_Camara - nice work! I will make sure to include your example in the docs as well. :rocket:

1 Like