#[Q] Read API
1 messages · Page 1 of 1 (latest)
Hi @hard basin, I'm not sure that I understand the question exactly but to explain, you can get (filter) all stored relation tuples that are related to this body.
can you share an example how can i get the permission through this api?
Of course, here is a quick example, so let's say you defined members in organizations and want to see all users that are members of specific organization (o1 in this example). You can filter organization o1 members as in the image.
You can also filter multiple entities and specific subjects of them
Cool
is it possible to filter members belongs to which org in this example?
You can get filtered relational tuples ( relations) as response when using readAPI. So you can get the filtered members with doing followup operations on the response JSON.
example?
So let's turn back to previous example (the image above). You filtered members on organization o1 if you need an get members only you can extract the members from JSON since you already filtered organization o1 members with ReadAPI.
You get a relationship response with readAPI, so you can extract members or members lists from JSON. Is that the thing you asked for?