I´m trying to use Firestore for a simple app. Google Firestore is a very easy to use NonSQL database and is free for small projects that scales without problem.
I can get the Composer Pro REST API to work with the following configuration:
Base:
Resource URL: https://firestore.googleapis.com/v1/
GET ALL:
Relative path: projects/{database}/databases/(default)/documents/./{collection id}
Response keypath: documents
GET ONE:
Relative path: projects/{database}/databases/(default)/documents/./{collection id}/{id}
for:
- Getting all the documents on a collection using the (GET ALL)
- Getting one document by ID (GET ONE)
Although in the Firestore REST API Explorer works fine, I haven’t been able to get Composer Pro REST API to:
- Query the database and get a record (document) by field content
- Post a record (document)
- Patch a record
Any suggestion?