Get Team Config.

GET /api/teams/{team}/config

Path parameters

  • team integer Required

    The ID of the team to show.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data object
      Hide data attributes Show data attributes object
      • id string
      • type string
      • attributes object
        Hide attributes attributes Show attributes attributes object
        • team_id integer
        • experiments object
          Hide experiments attribute Show experiments attribute object
          • TEMPORA_ASPERIORES_VOLUPTATEM_TEMPORIBUS object
            Hide TEMPORA_ASPERIORES_VOLUPTATEM_TEMPORIBUS attributes Show TEMPORA_ASPERIORES_VOLUPTATEM_TEMPORIBUS attributes object
            • endpoint string
            • algorithm string
            • status string
            • variant_count integer
            • total_participants integer
            • timeline object
              Hide timeline attributes Show timeline attributes object
              • created_at string
              • updated_at string
              • started_at string
              • stopped_at string
            • variants object
              Hide variants attribute Show variants attribute object
              • ET_QUISQUAM_TEMPORE_OFFICIA object
                Hide ET_QUISQUAM_TEMPORE_OFFICIA attributes Show ET_QUISQUAM_TEMPORE_OFFICIA attributes object
                • control boolean
                • participants integer
                • impressions integer
                • conversions integer
  • 403 application/json
    Hide response attribute Show response attribute object
    • message string
  • 404 application/json
    Hide response attribute Show response attribute object
    • message string
GET /api/teams/{team}/config
curl \
 -X GET https://checkmango.com/api/teams/10/config \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "4",
    "type": "team_config",
    "attributes": {
      "team_id": 4,
      "experiments": {
        "TEMPORA_ASPERIORES_VOLUPTATEM_TEMPORIBUS": {
          "endpoint": "http://checkmango.com/api/teams/4/experiments/TEMPORA_ASPERIORES_VOLUPTATEM_TEMPORIBUS",
          "algorithm": "blockRandomization",
          "status": "draft",
          "variant_count": 1,
          "total_participants": 0,
          "timeline": {
            "created_at": "2024-04-08T10:42:02.000000Z",
            "updated_at": "2024-04-08T10:42:02.000000Z",
            "started_at": null,
            "stopped_at": null
          },
          "variants": {
            "ET_QUISQUAM_TEMPORE_OFFICIA": {
              "control": false,
              "participants": 0,
              "impressions": 0,
              "conversions": 0
            }
          }
        }
      }
    }
  }
}
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}