Firebase Hosting API

The Firebase Hosting REST API enables programmatic and customizable deployments to your Firebase-hosted sites. Use this REST API to deploy new or updated hosting configurations and content files.

For a step-by-step example of the deploy workflow, visit Deploy using the REST API.


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.

REST Resource: v1beta1.sites.releases

create POST /v1beta1/{parent=sites/*}/releases
Creates a new release which makes the content of the specified version actively display on the site.
list GET /v1beta1/{parent=sites/*}/releases
Lists the releases that have been created on the specified site.

REST Resource: v1beta1.sites.versions

create POST /v1beta1/{parent=sites/*}/versions
Creates a new version for a site.
delete DELETE /v1beta1/{name=sites/*/versions/*}
Deletes the specified version.
patch PATCH /v1beta1/{*/versions/*}
Updates the specified metadata for a version.
populateFiles POST /v1beta1/{parent=sites/*/versions/*}:populateFiles
Adds content files to a version.

REST Resource: v1beta1.sites.versions.files

list GET /v1beta1/{parent=sites/*/versions/*}/files
Lists the remaining files to be uploaded for the specified version.