Firebase Hosting API: sites. 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. See: https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites
Firebase Hosting API: sites. 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. See: https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites
(domains-create$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/create
Required parameters: parent
Optional parameters: none
Body:
{:domainName string, :updateTime string, :provisioning {:dnsFetchTime string, :certChallengeDns CertDnsChallenge, :certStatus string, :certChallengeDiscoveredTxt [string], :expectedIps [string], :discoveredIps [string], :dnsStatus string, :certChallengeHttp CertHttpChallenge}, :domainRedirect {:type string, :domainName string}, :status string, :site string}
Creates a domain mapping on the specified site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/create Required parameters: parent Optional parameters: none Body: {:domainName string, :updateTime string, :provisioning {:dnsFetchTime string, :certChallengeDns CertDnsChallenge, :certStatus string, :certChallengeDiscoveredTxt [string], :expectedIps [string], :discoveredIps [string], :dnsStatus string, :certChallengeHttp CertHttpChallenge}, :domainRedirect {:type string, :domainName string}, :status string, :site string} Creates a domain mapping on the specified site.
(domains-delete$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/delete
Required parameters: name
Optional parameters: none Deletes the existing domain mapping on the specified site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/delete Required parameters: name Optional parameters: none Deletes the existing domain mapping on the specified site.
(domains-get$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/get
Required parameters: name
Optional parameters: none Gets a domain mapping on the specified site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/get Required parameters: name Optional parameters: none Gets a domain mapping on the specified site.
(domains-list$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/list
Required parameters: parent
Optional parameters: pageToken, pageSize Lists the domains for the specified site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/list Required parameters: parent Optional parameters: pageToken, pageSize Lists the domains for the specified site.
(domains-update$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/update
Required parameters: name
Optional parameters: none
Body:
{:domainName string, :updateTime string, :provisioning {:dnsFetchTime string, :certChallengeDns CertDnsChallenge, :certStatus string, :certChallengeDiscoveredTxt [string], :expectedIps [string], :discoveredIps [string], :dnsStatus string, :certChallengeHttp CertHttpChallenge}, :domainRedirect {:type string, :domainName string}, :status string, :site string}
Updates the specified domain mapping, creating the mapping as if it does not exist.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/domains/update Required parameters: name Optional parameters: none Body: {:domainName string, :updateTime string, :provisioning {:dnsFetchTime string, :certChallengeDns CertDnsChallenge, :certStatus string, :certChallengeDiscoveredTxt [string], :expectedIps [string], :discoveredIps [string], :dnsStatus string, :certChallengeHttp CertHttpChallenge}, :domainRedirect {:type string, :domainName string}, :status string, :site string} Updates the specified domain mapping, creating the mapping as if it does not exist.
(getConfig$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/getConfig
Required parameters: name
Optional parameters: none Gets the Hosting metadata for a specific site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/getConfig Required parameters: name Optional parameters: none Gets the Hosting metadata for a specific site.
(releases-create$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/releases/create
Required parameters: parent
Optional parameters: versionName
Body:
{:releaseTime string, :name string, :type string, :version {:labels {}, :deleteTime string, :deleteUser ActingUser, :fileCount string, :config ServingConfig, :name string, :createTime string, :preview PreviewConfig, :status string, :createUser ActingUser, :versionBytes string, :finalizeTime string, :finalizeUser ActingUser}, :releaseUser {:imageUrl string, :email string}, :message string}
Creates a new release which makes the content of the specified version actively display on the site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/releases/create Required parameters: parent Optional parameters: versionName Body: {:releaseTime string, :name string, :type string, :version {:labels {}, :deleteTime string, :deleteUser ActingUser, :fileCount string, :config ServingConfig, :name string, :createTime string, :preview PreviewConfig, :status string, :createUser ActingUser, :versionBytes string, :finalizeTime string, :finalizeUser ActingUser}, :releaseUser {:imageUrl string, :email string}, :message string} Creates a new release which makes the content of the specified version actively display on the site.
(releases-list$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/releases/list
Required parameters: parent
Optional parameters: pageToken, pageSize Lists the releases that have been created on the specified site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/releases/list Required parameters: parent Optional parameters: pageToken, pageSize Lists the releases that have been created on the specified site.
(updateConfig$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/updateConfig
Required parameters: name
Optional parameters: updateMask
Body:
{:maxVersions string}
Sets the Hosting metadata for a specific site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/updateConfig Required parameters: name Optional parameters: updateMask Body: {:maxVersions string} Sets the Hosting metadata for a specific site.
(versions-clone$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/clone
Required parameters: parent
Optional parameters: none
Body:
{:exclude {:regexes [string]}, :sourceVersion string, :finalize boolean, :include {:regexes [string]}}
Creates a new version on the target site using the content of the specified version.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/clone Required parameters: parent Optional parameters: none Body: {:exclude {:regexes [string]}, :sourceVersion string, :finalize boolean, :include {:regexes [string]}} Creates a new version on the target site using the content of the specified version.
(versions-create$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/create
Required parameters: parent
Optional parameters: versionId, sizeBytes
Body:
{:labels {}, :deleteTime string, :deleteUser {:imageUrl string, :email string}, :fileCount string, :config {:redirects [Redirect], :headers [Header], :appAssociation string, :trailingSlashBehavior string, :cleanUrls boolean, :rewrites [Rewrite]}, :name string, :createTime string, :preview {:expireTime string, :active boolean}, :status string, :createUser {:imageUrl string, :email string}, :versionBytes string, :finalizeTime string, :finalizeUser {:imageUrl string, :email string}}
Creates a new version for a site.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/create Required parameters: parent Optional parameters: versionId, sizeBytes Body: {:labels {}, :deleteTime string, :deleteUser {:imageUrl string, :email string}, :fileCount string, :config {:redirects [Redirect], :headers [Header], :appAssociation string, :trailingSlashBehavior string, :cleanUrls boolean, :rewrites [Rewrite]}, :name string, :createTime string, :preview {:expireTime string, :active boolean}, :status string, :createUser {:imageUrl string, :email string}, :versionBytes string, :finalizeTime string, :finalizeUser {:imageUrl string, :email string}} Creates a new version for a site.
(versions-delete$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/delete
Required parameters: name
Optional parameters: none Deletes the specified version.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/delete Required parameters: name Optional parameters: none Deletes the specified version.
(versions-files-list$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/files/list
Required parameters: parent
Optional parameters: status, pageToken, pageSize Lists the remaining files to be uploaded for the specified version.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/files/list Required parameters: parent Optional parameters: status, pageToken, pageSize Lists the remaining files to be uploaded for the specified version.
(versions-list$ auth args)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/list
Required parameters: parent
Optional parameters: filter, pageToken, pageSize Lists the versions that have been created on the specified site. Will include filtering in the future.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/list Required parameters: parent Optional parameters: filter, pageToken, pageSize Lists the versions that have been created on the specified site. Will include filtering in the future.
(versions-patch$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:labels {}, :deleteTime string, :deleteUser {:imageUrl string, :email string}, :fileCount string, :config {:redirects [Redirect], :headers [Header], :appAssociation string, :trailingSlashBehavior string, :cleanUrls boolean, :rewrites [Rewrite]}, :name string, :createTime string, :preview {:expireTime string, :active boolean}, :status string, :createUser {:imageUrl string, :email string}, :versionBytes string, :finalizeTime string, :finalizeUser {:imageUrl string, :email string}}
Updates the specified metadata for a version. Note that this method will
fail with FAILED_PRECONDITION
in the event of an invalid state
transition. The only valid transition for a version is currently from a
CREATED
status to a FINALIZED
status.
Use DeleteVersion
to set the status of a
version to DELETED
.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/patch Required parameters: name Optional parameters: updateMask Body: {:labels {}, :deleteTime string, :deleteUser {:imageUrl string, :email string}, :fileCount string, :config {:redirects [Redirect], :headers [Header], :appAssociation string, :trailingSlashBehavior string, :cleanUrls boolean, :rewrites [Rewrite]}, :name string, :createTime string, :preview {:expireTime string, :active boolean}, :status string, :createUser {:imageUrl string, :email string}, :versionBytes string, :finalizeTime string, :finalizeUser {:imageUrl string, :email string}} Updates the specified metadata for a version. Note that this method will fail with `FAILED_PRECONDITION` in the event of an invalid state transition. The only valid transition for a version is currently from a `CREATED` status to a `FINALIZED` status. Use [`DeleteVersion`](../sites.versions/delete) to set the status of a version to `DELETED`.
(versions-populateFiles$ auth args body)
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/populateFiles
Required parameters: parent
Optional parameters: none
Body:
{:files {}}
Adds content files to a version.
https://firebase.google.com/docs/hosting/api/reference/rest/v1beta1/sites/versions/populateFiles Required parameters: parent Optional parameters: none Body: {:files {}} Adds content files to a version.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close