cropped-cropped-cropped-cropped-cropped-activitylist-blue-1.png

Social rating

This API endpoint enables to add a social rating for the logged-in user to an activity.

Url

/api/v1/activities/social

Method

POST

Content-Type

application/json

Authorization

Bearer Token

Payload

{
    "activity_id": 2,
    "social": 2
}

Response 200

{
    "data": {
        "activity": {
            "id": 2,
            "name": "Carnivals"
        },
        "frequency": 3,
        "like": 4,
        "social": 2,
        "user_id": 8
    },
    "message": "Activity Social info saved successfully",
    "status": "success"
}