Buka konsol

Method: sites.releases.list

Lists the releases that have been created on the specified site.

HTTP request

GET https://firebasehosting.googleapis.com/v1beta1/{parent=sites/*}/releases

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent for which to list files, in the format:

sites/site-name

Query parameters

Parameters
pageSize

number

The page size to return. Defaults to 100.

pageToken

string

The nextPageToken from a previous request, if provided.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "releases": [
    {
      object(Release)
    }
  ],
  "nextPageToken": string
}
Fields
releases[]

object(Release)

The list of hashes of files that still need to be uploaded, if any exist.

nextPageToken

string

If there are additional releases remaining beyond the ones in this response, then supply this token in the next list call to continue with the next set of releases.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/firebase.hosting.readonly
  • https://www.googleapis.com/auth/firebase.hosting
  • https://www.googleapis.com/auth/firebase.readonly
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.