Landing Analytics LogoLanding Analytics

Get a specific alternative

Retrieve detailed information about a specific alternative including sections and status

GET
/alternative/{id_project}/{id_alternative}
AuthorizationBearer <token>

In: header

Path Parameters

id_projectstring

The unique identifier for the project

id_alternativestring

The unique identifier for the alternative

Response Body

curl -X GET "https://backend-landing-analytics.fly.dev/api/v0/exploration/alternative/string/string"
{
  "success": true,
  "message": "string",
  "content": {
    "sections": [
      {
        "name": "string",
        "impressions": 0,
        "total_time_ms": 0,
        "created_at": "2019-08-24T14:15:22Z"
      }
    ],
    "status": "active",
    "id_alternative": "string",
    "started_at": "2019-08-24T14:15:22Z",
    "finished_at": "2019-08-24T14:15:22Z"
  }
}
{
  "success": true,
  "message": "string",
  "content": {}
}
{
  "success": true,
  "message": "string",
  "content": {}
}