/settings/get_default

Returns the application-wide default value of a key. Returns the value of the key or null if no such key exists.

This endpoint includes the following methods:

  • GET

GET

Authentication

This endpoint supports Basic authentication. 

How to Create an Authentication String

Base URL

The base URL for this endpoint is your Janrain Capture domain; for example:

https://educationcenter.us-dev.janraincapture.com

Your Capture domains (also known as Registration domains) can be found in the Janrain Console on the Manage Application page:

Examples

Example Request

Get the value of owner, which does not have a default value.


curl -G -H "Authorization: Basic aW1fYV...NfbXk="\
    --data-urlencode key=owner \
    https://my-app.janraincapture.com/settings/get_default
  
      Running this command in Postman

Authorized Clients

owner

Security

  •  janrain-signed
  •  basic-auth

Query Parameters

Parameter Type Required Description
key string Yes Key whose value is to be retrieved. You can use the /settings/keys endpoint to return a list of available keys.
 

Responses

200 OK

Response Example (application/json)


{
  "result": "null",
  "stat": "ok"
}