Menu
Frequency rating
This API endpoint enables to add a frequency rating for a given user to an activity.
Url | /api/v1/activities/frequency |
Method | POST |
Content-Type | application/json |
Authorization | Bearer Token |
Payload
{
"activity_id": 2,
"frequency": 3
}
Response 200
{
"data": {
"activity": {
"id": 2,
"name": "Carnivals"
},
"frequency": 3,
"like": 4,
"social": null,
"user_id": 8
},
"message": "Activity Frequency info saved successfully",
"status": "success"
}