Konsola git

Method: projects.remoteConfig.listVersions

Get a list of Remote Config template versions that have been published, sorted in reverse chronological order.

Only the last 300 versions are stored.

All versions that correspond to non-active Remote Config templates (i.e., all except the template that is being fetched by clients) are also deleted if they are older than 90 days.

HTTP request

GET https://firebaseremoteconfig.googleapis.com/v1/{project=projects/*}/remoteConfig:listVersions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Required. The Firebase project's Project ID or Project Number, prefixed with "projects/".

Query parameters

Parameters
pageSize

number

Optional. The maximum number of items to return per page.

pageToken

string

Optional. The nextPageToken value returned from a previous List request, if any.

endVersionNumber

string (int64 format)

Optional. Specify the newest version number to include in the results. If specified, must be greater than zero. Defaults to the newest version.

startTime

string (Timestamp format)

Optional. Specify the earliest update time to include in the results; any entries updated before this time are omitted.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

Optional. Specify the latest update time to include in the results; any entries updated on or after this time are omitted.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Request body

The request body must be empty.

Response body

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

Contains a paginated list of versions of the RemoteConfig.

JSON representation
{
  "versions": [
    {
      object(Version)
    }
  ],
  "nextPageToken": string
}
Fields
versions[]

object(Version)

A list of version metadata objects, sorted in reverse chronological order.

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results in the list.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/firebase.remoteconfig
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the OAuth 2.0 Overview.