I have a "group" content type, which has a user reference field (it's a multiple value fields).
I am using it to store which users belong to a group.

Is there a way to get all the users referenced by a given group?
In other words, does JSON:API enable us to find entities referenced by another entity?

Comments

h_razack created an issue. See original summary.

hubert_r2’s picture

Found the answer:
jsonapi/user/user/filter[groups][condition][path]=field_groups.drupal_internal__nid&filter[groups][condition][value]=5 (or whatever nid)

hubert_r2’s picture

Status: Active » Closed (works as designed)