#Entity Filter
1 messages · Page 1 of 1 (latest)
Hello @rose wasp , we have a separate API for this. You can access the guide related to this at https://docs.permify.co/docs/api-overview/permission/lookup-entity.
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": ""
}
}
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?
I would like to retrieve everything no matter what the relation is
And if possible with only one request
I understand. Currently, there's no way to do these in a single request. If you like, you could open an issue about this.