Перейти к консоли

Firebase Management API

The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps.

Workflows: Set up and manage a Firebase project using the REST API

For a step-by-step example of the workflow to set up and manage Firebase projects, visit Workflow: Set up and manage a project.

Service: firebase.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://firebase.googleapis.com

REST Resource: v1beta1.availableProjects

Methods
list GET /v1beta1/availableProjects
Returns a list of Google Cloud Platform (GCP) Projects that are available to have Firebase resources added to them.

REST Resource: v1beta1.operations

Methods
get GET /v1beta1/{name=operations/**}
Gets the latest state of a long-running operation.

REST Resource: v1beta1.projects

Methods
addFirebase POST /v1beta1/{project=projects/*}:addFirebase
Adds Firebase resources to the specified existing Google Cloud Platform (GCP) Project.
addGoogleAnalytics POST /v1beta1/{parent=projects/*}:addGoogleAnalytics
Links a FirebaseProject with an existing Google Analytics account.
get GET /v1beta1/{name=projects/*}
Gets the FirebaseProject identified by the specified resource name.
getAdminSdkConfig GET /v1beta1/{name=projects/*/adminSdkConfig}
Gets the configuration artifact used by servers to simplify initialization.
getAnalyticsDetails GET /v1beta1/{name=projects/*/analyticsDetails}
Gets the Google Analytics details currently associated with a FirebaseProject.
list GET /v1beta1/projects
Lists each FirebaseProject accessible to the caller.
patch PATCH /v1beta1/{project.name=projects/*}
Updates the attributes of the FirebaseProject identified by the specified resource name.
removeAnalytics POST /v1beta1/{parent=projects/*}:removeAnalytics
Unlinks the specified FirebaseProject from its Google Analytics account.
searchApps GET /v1beta1/{parent=projects/*}:searchApps
A convenience method that lists all available Apps for the specified FirebaseProject.

REST Resource: v1beta1.projects.androidApps

Methods
create POST /v1beta1/{parent=projects/*}/androidApps
Requests that a new AndroidApp be created.
get GET /v1beta1/{name=projects/*/androidApps/*}
Gets the AndroidApp identified by the specified resource name.
getConfig GET /v1beta1/{name=projects/*/androidApps/*/config}
Gets the configuration artifact associated with the specified AndroidApp.
list GET /v1beta1/{parent=projects/*}/androidApps
Lists each AndroidApp associated with the specified parent Project.
patch PATCH /v1beta1/{app.name=projects/*/androidApps/*}
Updates the attributes of the AndroidApp identified by the specified resource name.

REST Resource: v1beta1.projects.androidApps.sha

Methods
create POST /v1beta1/{parent=projects/*/androidApps/*}/sha
Adds a SHA certificate to the specified AndroidApp.
delete DELETE /v1beta1/{name=projects/*/androidApps/*/sha/*}
Removes a SHA certificate from the specified AndroidApp.
list GET /v1beta1/{parent=projects/*/androidApps/*}/sha
Returns the list of SHA-1 and SHA-256 certificates for the specified AndroidApp.

REST Resource: v1beta1.projects.availableLocations

Methods
list GET /v1beta1/{parent=projects/*}/availableLocations
Returns a list of valid Google Cloud Platform (GCP) resource locations for the specified Project (including a FirebaseProject).

REST Resource: v1beta1.projects.defaultLocation

Methods
finalize POST /v1beta1/{parent=projects/*}/defaultLocation:finalize
Sets the default Google Cloud Platform (GCP) resource location for the specified FirebaseProject.

REST Resource: v1beta1.projects.iosApps

Methods
create POST /v1beta1/{parent=projects/*}/iosApps
Requests that a new IosApp be created.
get GET /v1beta1/{name=projects/*/iosApps/*}
Gets the IosApp identified by the specified resource name.
getConfig GET /v1beta1/{name=projects/*/iosApps/*/config}
Gets the configuration artifact associated with the specified IosApp.
list GET /v1beta1/{parent=projects/*}/iosApps
Lists each IosApp associated with the specified parent Project.
patch PATCH /v1beta1/{app.name=projects/*/iosApps/*}
Updates the attributes of the IosApp identified by the specified resource name.

REST Resource: v1beta1.projects.webApps

Methods
create POST /v1beta1/{parent=projects/*}/webApps
Requests that a new WebApp be created.
get GET /v1beta1/{name=projects/*/webApps/*}
Gets the WebApp identified by the specified resource name.
getConfig GET /v1beta1/{name=projects/*/webApps/*/config}
Gets the configuration artifact associated with the specified