Get Participant's Experiment.

GET /api/teams/{team}/participants/{participant}/experiments/{experiment}

Path parameters

  • team integer Required

    The team.

  • participant string Required

    The participant.

  • experiment string Required

    The experiment.

Query parameters

  • include string

    Comma-separated list of relationships to include in the response.

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
        • id integer
        • team_id integer
        • key string
        • description string
        • status string
        • created object
          Hide created attributes Show created attributes object
          • human string
          • string string
        • updated object
          Hide updated attributes Show updated attributes object
          • human string
          • string string
        • started object
          Hide started attributes Show started attributes object
          • human string
          • string string
        • stopped object
          Hide stopped attributes Show stopped attributes object
          • human string
          • string string
  • 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}/participants/{participant}/experiments/{experiment}
curl \
 -X GET https://checkmango.com/api/teams/3/participants/aut/experiments/dolorem \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "EXCEPTURI_CUPIDITATE_AUT_PERFERENDIS",
    "type": "experiments",
    "attributes": {
      "id": 18,
      "team_id": 57,
      "key": "EXCEPTURI_CUPIDITATE_AUT_PERFERENDIS",
      "description": "Molestiae et numquam consequatur facilis corporis. Dolorem nihil nesciunt commodi temporibus culpa nemo eveniet. Dolor harum repellat impedit dolor sit ipsum veniam.",
      "status": "draft",
      "created": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      },
      "updated": {
        "human": "1 second ago",
        "string": "2024-04-08 10:42:02"
      },
      "started": {
        "human": null,
        "string": null
      },
      "stopped": {
        "human": null,
        "string": null
      }
    },
    "links": {
      "self": {
        "href": "http://checkmango.com/api/teams/57/experiments/EXCEPTURI_CUPIDITATE_AUT_PERFERENDIS"
      }
    }
  }
}
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}