We’re excited to release of some of the most requested endpoints for the Console API! With these new endpoints, you can now post comments, votes, and flags directly via the Console API. The biggest enhancement is the ability to perform these actions as an SSO user, giving the Console API greater flexibility and functionality.
New Endpoints
-
- You can set the body using either ProseMirror JSON format or HTML format.
- For SSO users, you can simply send the user-id saved on your side to post comments as the SSO user. However posting comments via Console API as a HYVOR user is not supported.
- You can set boolean parameters to bypass pre-moderation, spam detection and rules.
-
- You can vote as an SSO user via Console API by simply passing the the user-id saved on your side as the
user_sso_id
.
- You can vote as an SSO user via Console API by simply passing the the user-id saved on your side as the
Updating Endpoints
-
- HTML format for comment body is now supported.
- When editing comment body, you can now perform it as the author instead of a moderator by simply setting
is_author
to true. - Just like in comment create endpoint, you can bypass pre-moderation, spam detection and rules by setting respective parameters to
false
. is_author
,check_premoderation
,spam_detection
,rules
are only applicable when comment body is being edited. These parameters will be ignored for other cases.
-
- You can vote as an SSO user via Console API by simply passing the the user-id saved on your side as the
user_sso_id
.
- You can vote as an SSO user via Console API by simply passing the the user-id saved on your side as the
Why this endpoints?
With this new release, you can build your own custom comments embed or even a mobile app with a fully functional comments section powered by the Console API.