More clarifications on examples

justjanne/3981-relations-recursion
Janne Mareike Koschinski 2 years ago
parent f7e5ca3eb8
commit ffb316d337
No known key found for this signature in database
GPG Key ID: E44FE785A81B28C2

@ -90,14 +90,17 @@ flowchart RL
D-->C-->B D-->C-->B
``` ```
`/messages` with `dir=f` would return `/messages` with `dir=f` would
`[A, B, C, D, E, F, G]` return `[A, B, C, D, E, F, G]`.
`/relations` on event `A` with `rel_type=m.thread` and `dir=f` would return `/relations` on event `A` with `rel_type=m.thread` and `dir=f` would
`[A, B, G]`. return `[A, B, G]`.
`/relations` on event `A` with `recurse=true` and `dir=f` would return `/relations` on event `A` with `recurse=true` and `dir=f` would
`[A, B, D, E, G]`. return `[A, B, D, E, G]`.
`/relations` on event `A` with `recurse=true`, `dir=b` and `limit=2` would
return `[G, E]`.
## Unstable prefix ## Unstable prefix

Loading…
Cancel
Save