#how to query document by related docs name/id

3 messages · Page 1 of 1 (latest)

median crater
#

Hello, I have a Media collection with a relation field to many Tag collections. How can I REST query to get all media that have a certain tag assigned to them?
http://localhost:8000/api/media?where[tag][name][equals]=3D
I'd assume something similar to this maybe? But this one doesn't work. Thanks

next fulcrumBOT
#
median crater
#

http://localhost:8000/api/media?where[tags.name][equals]=3D this works It seems!