Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 774 Bytes

user-config.md

File metadata and controls

52 lines (40 loc) · 774 Bytes

service-user-config

Base URLs:

Versions

  • 2018-06-07: service created

Methods

get_config

Provides config for the given user and client.

Request

{
	"user_id": "8bfcbff8-4a1e-489a-81d1-2fb141e19159",
	"client": {
		"platform": "ios",
		"version": "1.2.3",
		"build": "1234"
	}
}

Response

{
	"flags": [
		"some_feature_enabled"
	],
	"config": {
		"foo": "bar",
		"blah": true,
		"abc": 1,
		"123": {
			"foo": [
				{ "aaa": "bbb" }
			]
		}
	}
}

The values of the config object can be any JSON type, including null.