Method: projects.remoteConfig.downloadDefaults

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

string

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

Query parameters

Parameters
format

enum (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

string

The HTTP Content-Type header value specifying the content type of the body.

data

string (bytes format)

The HTTP request/response body as raw binary.

A base64-encoded string.

extensions[]

object

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 "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" }.

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).