List of Status Events
Event | Triggered When | Note |
---|---|---|
status.created | a new status is created | This event is triggered only if status_enabled community option is true |
status.updated | a status is updated | This event is triggered only if status_enabled community option is true |
status.deleted | a status is deleted | This event is triggered only if status_enabled community option is true |
status.restored | a status is restored after deletion | This event is triggered only if status_enabled community option is true |
status.follow | a status is followed by the user | This event is triggered only if status_enabled community option is true |
status.unfollow | a status is unfollowed by the user | This event is triggered only if status_enabled community option is true |
status.suspend | a status's notifications are suspended by the user | This event is triggered only if status_enabled community option is true |
status.unsuspend | a status's notifications are unsuspended by the user | This event is triggered only if status_enabled community option is true |
- status.created
- status.updated
- status.deleted
- status.restored
- JSON
{
"event_id": 0,
"type": "string",
"created": 1625471209.139224,
"data": {
"id": 1,
"categories": [],
"medias": [],
"location": [],
"last_activity_at": "2021-05-28T11:37:25.178645+02:00",
"last_edited_at": null,
"author": {
"id": 100,
"username": "string",
"real_name": "string",
"date_joined": "2021-05-28T10:33:52.269304+02:00",
"bio": "string",
"location": "string",
"location_lat_lng": "string",
"position_lat_lng": "string",
"date_of_birth": "string",
"description": "string",
"gender": "Male",
"website": "https://example.com",
"avatar": "string",
"cover": "string",
"ext_id": "string",
"tags": [],
"reputation": 111,
"followings_counter": 7,
"followers_counter": 2,
"posts_counter": 4,
"discussions_counter": 3,
"statuses_counter": 0,
"polls_counter": 1
},
"added_at": "2021-05-28T11:37:25.178645+02:00",
"html": "string",
"summary": "string",
"deleted": true,
"collapsed": false,
"comment_count": 0,
"vote_count": 0,
"flag_count": 0,
"share_count": 0,
"addressing": [],
"tags": []
}
}
- status.follow
- status.unfollow
- status.suspend
- status.unsuspend
- JSON
{
"event_id": 0,
"type": "string",
"created": 1625471209.139224,
"data": {
"added_at": "2021-06-07T09:46:39.536844+02:00",
"user": {
"id": 1,
"username": "string",
"real_name": "string",
"email": "user@example.com",
"email_isvalid": true,
"date_joined": "2019-08-24T14:15:22Z",
"bio": "string",
"location": "string",
"location_lat_lng": "string",
"position_lat_lng": "string",
"date_of_birth": "2019-09-23",
"description": "string",
"gender": "Male",
"status": "a",
"website": "https://example.com",
"avatar": "string",
"cover": "string",
"ext_id": 3,
"tags": [],
"reputation": 111,
"followings_counter": 7,
"followers_counter": 2,
"posts_counter": 4,
"discussions_counter": 3,
"statuses_counter": 0,
"polls_counter": 1
},
"status": {
"id": 1,
"categories": [],
"medias": [],
"location": [],
"poll": [],
"last_activity_at": "2021-05-28T11:37:25.178645+02:00",
"last_edited_at": null,
"author": {
"id": 100,
"username": "string",
"real_name": "string",
"date_joined": "2021-05-28T10:33:52.269304+02:00",
"bio": "string",
"location": "string",
"location_lat_lng": "string",
"position_lat_lng": "string",
"date_of_birth": "string",
"description": "string",
"gender": "Male",
"website": "https://example.com",
"avatar": "string",
"cover": "string",
"ext_id": "string",
"tags": [],
"reputation": 111,
"followings_counter": 7,
"followers_counter": 2,
"posts_counter": 4,
"discussions_counter": 3,
"statuses_counter": 0,
"polls_counter": 1
},
"added_at": "2021-05-28T11:37:25.178645+02:00",
"html": "string",
"summary": "string",
"deleted": true,
"collapsed": false,
"comment_count": 0,
"vote_count": 0,
"flag_count": 0,
"share_count": 0,
"addressing": [],
"tags": []
}
}
}