How to see sub-collections in REST API direct integration resource

Hey,

How do I view sub-collections from firestore in my rest API?

Hello, do these work in your resource URL?

https://firestore.googleapis.com/v1/projects/{projectid}/databases/(default)/documents/users/{userid}/subcollectionname
https://firestore.googleapis.com/v1/projects/{projectid}/databases/(default)/documents/users/{userid}/subcollectionname/{subcollectionid}
1 Like

Thanks a million. You’re a life saver.