Get a project's current Remote Config template parameters and default values in JSON, property list (plist), or XML format.
HTTP request
GET https://firebaseremoteconfig.googleapis.com/v1/{project=projects/*}/remoteConfig:downloadDefaults
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 | |
---|---|
format |
Required. The file structure to return. |
Request body
The request body must be empty.
Response body
JSON representation |
---|
{ "contentType": string, "data": string, "extensions": [ { "@type": string, field1: ..., ... } ] } |
Fields | |
---|---|
contentType |
The HTTP Content-Type header value specifying the content type of the body. |
data |
The HTTP request/response body as raw binary. A base64-encoded string. |
extensions[] |
Application specific response metadata. Must be set in the first response for streaming APIs. An object containing fields of an arbitrary type. An additional field |
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.
Format
The file format to request.
Enums | |
---|---|
FORMAT_UNSPECIFIED |
Catch-all for unrecognized enum values. |
XML |
Returns a response in XML format. |
PLIST |
Returns a response in property list (plist) format. |
JSON |
Returns a response in raw JSON format (not packaged in an HttpBody object). |