Google

Firebase Hosting API

The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and…

Developer tools#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

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

Endpoints 3

projects.sites.customDomains.operations

  • POSTCancelOperation is a part of the google.longrunning.Operations interface, but is not implemented for CustomDomain…/v1/:name:cancelCancelOperation is a part of the google.longrunning.Operations interface, but is not implemented for CustomDomain resources.
  • DELETEDeleteOperation is a part of the google.longrunning.Operations interface, but is not implemented for CustomDomain…/v1/:nameDeleteOperation is a part of the google.longrunning.Operations interface, but is not implemented for CustomDomain resources.

operations

  • GETLists operations that match the specified filter in the request/v1/:name?filter=string&pageSize=0&pageToken=string&returnPartialSuccess=trueLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

API details

Base URL
https://firebasehosting.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 4 scopes
An API key in the key query parameter
Operations
3 operations on 2 pathsGET 1POST 1DELETE 1
Main resources
projects.sites.customDomains.operations 2operations 1
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Firebase Hosting API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Firebase Hosting API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 4 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “CancelOperation is a part of the google.longrunning.Operations interface, but is not implemented for CustomDomain…” (POST /v1/:name:cancel), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Firebase Hosting API?

The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and… It is listed under Developer tools and has 3 endpoints.

Who publishes the Firebase Hosting API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Firebase Hosting API?

Requests go to https://firebasehosting.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Firebase Hosting API?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 4 scopes; an API key in the key query parameter.

How many endpoints does the Firebase Hosting API have?

3 operations on 2 paths (1 GET, 1 POST, 1 DELETE). The largest groups are projects.sites.customDomains.operations, operations.

Is forking the Firebase Hosting API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.