This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
A new post was created.
function wixForumV1_onPostCreated(event: PostCreated): void;
export function wixForumV1_onPostCreated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was removed.
function wixForumV1_onPostDeleted(event: PostDeleted): void;
export function wixForumV1_onPostDeleted(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was liked.
function wixForumV1_onPostLiked(event: PostLiked): void;
export function wixForumV1_onPostLiked(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was moved to a different category.
function wixForumV1_onPostMoved(event: PostMoved): void;
export function wixForumV1_onPostMoved(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was opened for further comments.
function wixForumV1_onPostOpened(event: PostOpened): void;
export function wixForumV1_onPostOpened(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was pinned to the top of the post list.
function wixForumV1_onPostPinned(event: PostPinned): void;
export function wixForumV1_onPostPinned(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was reported as inappropriate.
function wixForumV1_onPostReported(event: PostReported): void;
export function wixForumV1_onPostReported(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was unliked.
function wixForumV1_onPostUnliked(event: PostUnliked): void;
export function wixForumV1_onPostUnliked(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was unpinned from the top of the post list.
function wixForumV1_onPostUnpinned(event: PostUnpinned): void;
export function wixForumV1_onPostUnpinned(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was updated.
function wixForumV1_onPostUpdated(event: PostUpdated): void;
export function wixForumV1_onPostUpdated(event) {
const eventId = event.metadata.id;
const entityId = event.entity._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An existing post was reacted.
function wixForum_onPostReacted(event: PostReacted): void;
export function wixForum_onPostReacted(event) {
const eventId = event.metadata.id;
const entityId = event.data.post._id;
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.