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 |
Required. The Firebase project's Project ID or Project Number, prefixed with "projects/". |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of items to return per page. |
pageToken |
Optional. The nextPageToken value returned from a previous List request, if any. |
endVersionNumber |
Optional. Specify the newest version number to include in the results. If specified, must be greater than zero. Defaults to the newest version. |
startTime |
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, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
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, with nanosecond resolution and up to nine fractional digits. Examples: |
Request body
The request body must be empty.
Response body
Contains a paginated list of versions
of the RemoteConfig.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"versions": [
{
object ( |
Fields | |
---|---|
versions[] |
A list of version metadata objects, sorted in reverse chronological order. |
nextPageToken |
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 Authentication Overview.