Skip to content

Commit

Permalink
chore(docs): fix expand response documentation (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Jul 7, 2023
2 parents c2c25a7 + a1fe649 commit ad9f3fc
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,21 @@ fga query **expand** <relation> <object> --store-id=<store-id> [--model-id=<mode
###### JSON Response
```json5
{
"relations": [
"can_view",
"can_edit"
],
"tree": {
"root": {
"name": "repo:openfga/openfga#reader",
"union": {
"nodes": [{
"leaf": {
"users": {
"users": ["user:anne"]
}
},
"name": "repo:openfga/openfga#reader"
}]
}
}
}
}
```
Expand Down

0 comments on commit ad9f3fc

Please sign in to comment.