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.
This page contains information about getting started with the Firebase Hosting API using the Google API Client Library for Java. In addition, you may be interested in the following documentation:
- Browse the Javadoc reference for the Firebase Hosting API
- Read the Developer's Guide for the Google API Client Library for Java.
- Interact with this API in your browser using the APIs Explorer for the Firebase Hosting API
Add the following lines to your pom.xml
file:
<project>
<dependencies>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebasehosting</artifactId>
<version>v1beta1-rev20230913-2.0.0</version>
</dependency>
</dependencies>
</project>
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebasehosting:v1beta1-rev20230913-2.0.0'
}