EndpointsFeature Flags

Get a subject's feature flags

GET/flags/{subject_type}/{subject_id}

Return one group subject's evaluated flags, such as a league's. The caller needs the same access the subject's own detail route requires. A user's own flags come from /flags/me.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token issued by Softmax

In: header

Path Parameters

subject_type*SubjectType

Subject type whose flags are returned.

Value in

  • "user"
  • "league"
  • "player"
subject_id*Subject Id

ID of the subject whose flags are returned.

curl -X GET "https://example.com/flags/user/string"
{  "subject": {    "type": "user",    "key": "string"  },  "flags": {    "property1": true,    "property2": true  },  "overridden": [    "string"  ]}