/settings/get_multi

Looks up multiple keys. Each value is retrieved, as in the settings/get command, by first looking at the client-specific setting, and then falling back to the application default setting.

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

Fetch the values of owner, level, and public for a specific client, where public has no client-specific value and no default value.


curl -H "Authorization: Basic aW1fYV...NfbXk="\
    --data-urlencode for_client_id=fghi7890fghi7890 \
    --data-urlencode keys='["owner","public","level"]' \
    https://my-app.janraincapture.com/settings/get_multi
  
      Running this command in Postman

Authorized Clients

  • owner 
  • login_client 
  • direct_read_access 
  • direct_access 
  • access_issuer

Security

  •  janrain-signed
  •  basic-auth

Query Parameters

Parameter Type Required Description
keys string Yes JSON array of the keys to be retrieved.
 
for_client_id string Yes Client ID of the client whose keys are being retrieved. Only the application owner is authorized to send requests using this parameter.
 

Responses

200 OK

Response Example (application/json)


{
  "result": {
    "public": "true",
    "owner": "Jay",
    "level": "10"
  },
  "stat": "ok"
}