Section | Event type | Object field format |
---|
Messages | message_new
new message received
message_reply
new message sent | Private message object. |
| message_allow
new user consent to messages sending | Object with the following fields:
|
| messages_deny
new user prohibition to messages sending | Object with the only field user_id (integer) — user ID. |
Photos | photo_new
new photo in a community | Photo object. |
| photo_comment_new
new photo comment
photo_comment_edit
editing a photo comment
photo_comment_restore
restoring a photo comment | Comment object with additional fields:
- photo_id (integer) — photo ID;
- photo_owner_id (integer) — photo owner ID.
|
| photo_comment_delete
deleting a photo comment | Object with following fields:
- owner_id (integer) — photo owner ID;
- id (integer) — comment ID;
- user_id (integer) — ID of the user who deleted a comment;
- photo_id (integer) — photo ID.
|
Audio | audio_new
new audio in a community list | Audio object |
Video | video_new
new video in a community list | Video object |
| video_comment_new
new video comment
video_comment_edit
editing a video comment
video_comment_restore
restoring a video comment | Comment object with additional fields:
- video_id (integer) — video ID;
- video_owner_id (integer) — video owner ID.
|
| video_comment_delete
deleting a video comment | Object with following fields:
- owner_id (integer) — video owner ID;
- id (integer) — comment ID;
- user_id (integer) — ID of the user who deleted a comment;
- video_id (integer) — video ID.
|
Wall posts | wall_post_new
adding a post on wall
wall_repost
new repost | Wall post object
from_id contains positive values for posts from users. |
Wall comments | wall_reply_new
new comment on wall
wall_reply_edit
editing a comment on wall
wall_reply_restore
restoring a comment on wall | Comment object with additional fields:
- post_id (integer) — post ID;
- post_owner_id (integer) — post owner ID.
|
| wall_reply_delete
deleting a comment on wall | Object with following fields:
- owner_id (integer) — wall owner ID;
- id (integer) — comment ID;
- user_id (integer) — ID of the user who deleted a comment;
- post_id (integer) — post ID.
|
Boards | board_post_new
new comment in a board
board_post_edit
editing a board comment
board_post_restore
restoring a board comment | Board comment object with additional fields:
- topic_id (integer) — topic ID;
- topic_owner_id (integer) — topic owner ID.
|
| board_post_delete
deleting a board comment | Object containing following fields:
- topic_id (integer) — topic ID;
- id (integer) — comment ID.
|
Market | market_comment_new
new comment to a market item
market_comment_edit
editing a market comment
market_comment_restore
restoring a market comment | Comment object with additional fields:
- market_owner_id (integer) — market owner ID.
- item_id (integer) — market item ID.
|
| market_comment_delete
deleting a market comment | Îáúåêò, ñîäåðæàùèé ñëåäóþùèå ïîëÿ:
- owner_id (integer) — market owner ID;
- id (integer) — comment ID;
- user_id (integer) — ID of the user who deleted a comment;
- item_id (integer) — market item ID.
|
Users | group_leave
member removed from a community | Object with following fields:
- user_id (integer) — user ID.
- self (integer, [0,1]) — value describing if a user has left on his own or was deleted.
|
| group_join
new member or join request | Object with following fields:
- user_id (integer) — user ID.
- join_type (string) — shows how exactly the user has joined. Possible values:
- join — user joined a group or event (subscribed a public page).
- unsure — for events: user has chosen "I may attend".
- accepted — user approved an invitation to a group or event.
- approved — a join request was approved by community administrators.
- request — user sent a join request.
|
| user_block
new user in the blacklist | Object with following fields:
- admin_id (integer) — administrator ID;
- user_id (integer) — user ID;
- unblock_date (integer) — date when the user will be unblocked;
- reason (integer) — ban reason. Possible values:
- 0 — other (by default);
- 1 — spam;
- 2 — verbal abuse;
- 3 — strong language;
- 4 — irrelevant messages.
- comment (string) — text of the comment to the ban.
|
| user_unblock
user has been deleted from the blacklist | Object with following fields:
- admin_id (integer) — administrator ID;
- user_id (integer) — user ID;
- by_end_date (integer, [0,1]) — 1, if the ban has been expired.
|
Other | poll_vote_new
new vote in a public poll | Object with following fields:
- owner_id (integer) — poll owner ID;
- poll_id (integer) — poll ID;
- option_id (integer) — option ID;
- user_id (integer) — user ID.
|
| group_officers_edit
changes in the administrators list | Object with following fields:
- admin_id (integer) — ID of the administrator who made changes;
- user_id (integer) — ID of the user whose role has been changed;
- level_old (integer) — old role;
- level_new (integer) — new role.
level_old and level_new fields can take following values:
- 0 — no role;
- 1 — moderator;
- 2 — editor;
- 3 — administrator.
|
| group_change_settings
changes in a community settings | Object with following fields:
- user_id — ID of the user who made changes;
- changes — changes description. Object with following fields:
- {FIELD} — section name. {FIELD} can take values:
- title — title;
- description — description;
- access — community type;
- screen_name — screen name;
- public_category — public category;
- public_subcategory — public subcategory;
- age_limits — age limits;
- website — website;
- enable_{SECTION} — {SECTION} can take values: status_default, audio, photo, video, market.
- old_value — old value;
- new_value — new value.
|
| group_change_photo
changes of community main photo | Object with following fields:
- user_id — ID of the user who made changes;
- photo — object describing a photo.
|