Gets the configuration artifact associated with the specified WebApp
.
HTTP request
GET https://firebase.googleapis.com/v1beta1/{name=projects/*/webApps/*/config}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The resource name of the
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Configuration metadata of a single Firebase App for the web.
JSON representation |
---|
{ "projectId": string, "appId": string, "databaseURL": string, "storageBucket": string, "locationId": string, "apiKey": string, "authDomain": string, "messagingSenderId": string, "measurementId": string } |
Fields | |
---|---|
projectId |
Immutable. A user-assigned unique identifier for the |
appId |
Immutable. The globally unique, Firebase-assigned identifier for the |
databaseURL |
The default Firebase Realtime Database URL. |
storageBucket |
The default Cloud Storage for Firebase storage bucket name. |
locationId |
The ID of the Project's default GCP resource location. The location is one of the available GCP resource locations. This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call |
apiKey |
The Note that this value is not the |
authDomain |
The domain Firebase Auth configures for OAuth redirects, in the format:
|
messagingSenderId |
The sender ID for use with Firebase Cloud Messaging. |
measurementId |
The unique Google-assigned identifier of the Google Analytics web stream associated with the This field is only present if the To generate a For apps using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically fetches the |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
https://www.googleapis.com/auth/firebase
https://www.googleapis.com/auth/firebase.readonly
For more information, see the Authentication Overview.