Rate survey Deprecated

POST /v1/client/networks/{networkId}/surveys/{surveyId}/rate

Path parameters

application/json

Body Required

  • stars integer Required

    Minimum value is 1, maximum value is 5.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
  • 406 application/json

    VPN detected

    Hide response attribute Show response attribute object
POST /v1/client/networks/{networkId}/surveys/{surveyId}/rate
curl \
 -X POST https://api.bitlabs.ai/v1/client/networks/{networkId}/surveys/{surveyId}/rate \
 -H "X-Api-Token: $API_KEY" \
 -H "X-User-Id: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"stars":42}'
Request example
{
  "stars": 42
}
Response examples (200)
{
  "data": {}
}
Response examples (406)
{
  "error": {
    "details": {
      "http": "406 Not Acceptable",
      "msg": "vpn detected"
    }
  }
}