Method: projects.remoteConfig.listVersions
Stay organized with collections
Save and categorize content based on your preferences.
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 |
integer
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, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "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, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
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 (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 Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-11 UTC.
[null,null,["Last updated 2024-06-11 UTC."],[],[],null,["# Method: projects.remoteConfig.listVersions\n\nGet a list of [Remote Config template versions](/docs/reference/remote-config/rest/v1/Version) that have been published, sorted in reverse chronological order.\n\nOnly the last 300 versions are stored.\n\nAll 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.\n\n### HTTP request\n\n`GET https://firebaseremoteconfig.googleapis.com/v1/{project=projects/*}/remoteConfig:listVersions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------|----------------------------------------------------------------------------------------------------|\n| `project` | `string` Required. The Firebase project's Project ID or Project Number, prefixed with \"projects/\". |\n\n### Query parameters\n\n| Parameters ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of items to return per page. |\n| `pageToken` | `string` Optional. The nextPageToken value returned from a previous List request, if any. |\n| `endVersionNumber` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Optional. Specify the newest version number to include in the results. If specified, must be greater than zero. Defaults to the newest version. |\n| `startTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `endTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nContains a paginated list of [versions](/docs/reference/remote-config/rest/v1/Version) of the RemoteConfig.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------|\n| ``` { \"versions\": [ { object (/docs/reference/remote-config/rest/v1/Version) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `versions[]` | `object (`[Version](/docs/reference/remote-config/rest/v1/Version)`)` A list of version metadata objects, sorted in reverse chronological order. |\n| `nextPageToken` | `string` Token to retrieve the next page of results, or empty if there are no more results in the list. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/firebase.remoteconfig`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]