Skip to content

v0.0.2

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Aug 18:01
· 455 commits to main since this release
v0.0.2
53c5348

0.0.2 (2022-08-15)

Support for ListObjects API

You call the API and receive the list of object ids from a particular type that the user has a certain relation with.

For example, to find the list of documents that Anne can read:

const response = await openFgaApi.listObjects({
 user: "anne",
 relation: "can_read",
 type: "document"
});

// response.object_ids = ["roadmap"]