How to find the database id of a cloud firestore p

2019-06-17 05:38发布

I'm trying to use the Cloud Firestore REST API, but can't seem to find the project id.

2条回答
乱世女痞
2楼-- · 2019-06-17 05:59

Firestore's REST API is still in beta; we can't generate our own database ids as of yet.

We have to use the default database id which is currently the following (glaringly literal) string:

(default)

And yes, you have to include the parentheses.

查看更多
劫难
3楼-- · 2019-06-17 06:02

To find your Cloud Project ID (which is needed to access Cloud Firestore through the REST API):

  1. Open the Firebase console of your project
  2. Click the Settings icon ( ⚙) next to Project Overview in the top left
  3. Open Project settings
  4. Copy the value from the Project ID field
查看更多
登录 后发表回答