This API allows the update of the mood of a runner on the Voomerr platform.
Endpoint #
The Voomerr Runner Mood Update endpoint is POST https://admin.voomerr.com/api/runner_mood_update.php
Request Parameters #
Parameter | Data Type | Required | Description |
---|---|---|---|
user_id | int | Yes | The ID of the runner to update the mood. |
value | int | Yes | The value of the mood to be updated. Possible values are 0 (bad) to 10 (good). |
Request Example #
json
POST https://admin.voomerr.com/api/runner_mood_update.php
{
"user_id": 12345,
"value": 8
}
Response Parameters #
Parameter | Data Type | Description |
---|---|---|
success | boolean | Indicates if the update was successful. Returns true if successful. |
message | string | A message describing the status of the request. |
Response Example #
json
{
"success": true,
"message": "Runner mood updated successfully"
}