#Entity Filter

1 messages · Page 1 of 1 (latest)

shut yacht
rose wasp
#

But there I have to specify the permission I want to lookup for

#

Or can I just leave it as empty string ?

#
{
    "metadata": {
        "snap_token": "",
        "schema_version": {{schema_version}},
        "depth": 100
    },
    "entity_type": "repository",
    "permission": "",
    "subject": {
        "type": "user",
        "id": "u1",
        "relation": ""
    }
}
shut yacht
#

No, but you can write the relation in that field too. I think what you want is to be able to write multiple relations or permissions in that field, right?

rose wasp
#

I would like to retrieve everything no matter what the relation is

#

And if possible with only one request

shut yacht
#

I understand. Currently, there's no way to do these in a single request. If you like, you could open an issue about this.