Skip to content
Reference
/
RESTful API
/
Endpoints
/
/ff/fetch

/ff/fetch

Get fast flags for the game.

Request Body

  1. Fetch a flag by its ID:
{
    "id": 1, // Number: UserID
    "token": "sessionKey", // String: sessionKey
    "flagid": 1 // Number: flagID
}
  1. Fetch a flag by its name:
{
    "id": 1, // Number: UserID
    "token": "sessionKey", // String: sessionKey
    "name": "Really Cool Rainbow", // String: Name of the flag
}
  1. Fetch all flags for game:
{
    "id": 1, // Number: UserID
    "token": "sessionKey" // String: sessionKey
}

Response

{
    "code": 200, // Number: IETF Status Code
    "status": "success", // String: Success
    [
        "id": 1, // Number: flagID
        "flagId": 1, // String: ID of flag
        "FeatureName": "Really Cool Rainbow", // String: Feature Name
        "FeatureValue": 0.5 // Number: Float between 0 and 1 for the percentage of servers
    ]
}