Comment Context Object


A comment context describes a place on a site where comments live, such as a Wix Blog post or a Wix Comments category, together with the comment permissions resolved for the current identity in that place.

Properties
appIdstringformat GUID

ID of the app that hosts the comments, such as Wix Blog or Wix Comments. See Integrations in the Comments introduction for the value each Wix app uses.


contextIdstringminLength 1maxLength 128

ID of the context where the comments are made. For example, a blog post ID or a comments category ID, depending on the hosting app.


contextTypestringmaxLength 128

Type of the context, as defined by the hosting app. For example, Wix Blog uses postPage. Returned as passed in the request.


permissionsPermissions

Comment permissions resolved for the current identity in this context, including site owner and moderator overrides.


registrationDataRegistrationDataRead-only

Site registration (sign-on) policy, resolved for the site. Returned only when the request fields include REGISTRATION_DATA, and omitted when the policy could not be resolved.

Did this help?