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.
To list server-side template versions, use "firebase-server" as the namespace ID in [ListVersionsRequest.parent]. If [ListVersionsRequest.parent] is not provided, the client-side template versions ('firebase' namespace) are listed.
HTTP request
GET https://firebaseremoteconfig.googleapis.com/v1/{parent=projects/*/namespaces/*/remoteConfig}:listVersions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Optional. The resource name of the RemoteConfig to list versions for. Format: projects/{project}/namespaces/{namespace}/remoteConfig Project is a Firebase project ID or project number. Namespace is the namespace ID (e.g.: 'firebase' or 'firebase-server') |
Query parameters
Parameters | |
---|---|
project |
Required. The Firebase project's Project ID or Project Number, prefixed with "projects/". |
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. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Optional. Specify the latest update time to include in the results; any entries updated on or after this time are omitted. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListVersionsResponse
.
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.