fire-store-api
Version:
This is an API for making read and write calls to a Firestore DB instance
22 lines (13 loc) • 926 B
Plain Text
### Google API Calls ################################################
# https://firebase.google.com/docs/reference/rest/auth/
AIzaSyC_vnEq_M-KsGi9bCfn-kohYYaaPeo2YNs
# for retrieving a custom token
https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken?key=[API_KEY]
https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken?key=AIzaSyC_vnEq_M-KsGi9bCfn-kohYYaaPeo2YNs
# for using the custom token
curl 'https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken?key=AIzaSyC_vnEq_M-KsGi9bCfn-kohYYaaPeo2YNs' \
-H 'Content-Type: application/json' \
--data-binary '{"token":"[CUSTOM_TOKEN]","returnSecureToken":true}
projects/{project_id}/databases/{database_id}/documents/{document_path}
https://firestore.googleapis.com/v1/projects/nicedb314/databases/default/documents/Users/0
https://firestore.googleapis.com/v1/projects/nicedb314/databases/(default)/documents/Users/0