Landing Analytics LogoLanding Analytics

Create or update a flag

Create a new flag for the project or update an existing one

POST
/flag/{id_project}
AuthorizationBearer <token>

In: header

Path Parameters

id_projectstring

The unique identifier for the project

namestring
timestampstring
Formatdate-time
id_flag?string

Response Body

curl -X POST "https://backend-landing-analytics.fly.dev/api/v0/exploration/flag/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "timestamp": "2019-08-24T14:15:22Z"  }'
{
  "success": true,
  "message": "string",
  "content": {
    "id_flag": "string"
  }
}
{
  "success": true,
  "message": "string",
  "content": {}
}