Landing Analytics LogoLanding Analytics

Get a specific scenario

Retrieve detailed information about a specific scenario including alternatives and sections

GET
/scenario/{id_project}/{id_scenario}
AuthorizationBearer <token>

In: header

Path Parameters

id_projectstring

The unique identifier for the project

id_scenariostring

The unique identifier for the scenario

Response Body

curl -X GET "https://backend-landing-analytics.fly.dev/api/v0/exploration/scenario/string/string"
{
  "success": true,
  "message": "string",
  "content": {
    "id_scenario": "string",
    "name": "string",
    "description": "string",
    "start_at": "2019-08-24T14:15:22Z",
    "finished_at": "2019-08-24T14:15:22Z",
    "alternatives": [
      {
        "id_alternative": "string",
        "alternative_name": "string",
        "sections": [
          {
            "name": "string",
            "impressions": 0,
            "total_time_ms": 0
          }
        ]
      }
    ],
    "favorite": true,
    "winner": "string"
  }
}
{
  "success": true,
  "message": "string",
  "content": {}
}
{
  "success": true,
  "message": "string",
  "content": {}
}