Endpoint: reactions

/reactions/list

GET /api/v1/reactions/list.ext HTTP/1.1
Host: https://yoursite.vanillaforums.com

Retrieve a list of reactions.

Authentication: required

Parameters

None

/reactions/get

GET /api/v1/reactions/get.ext HTTP/1.1
Host: https://yoursite.vanillaforums.com

Retrieve a reaction by UrlCode

Authentication: required

Parameters

Parameter Type Description
UrlCode string Required. Reaction to retrieve

/reactions/add

POST /api/v1/reactions/add.ext HTTP/1.1
Host: https://yoursite.vanillaforums.com

Creates a new reaction.

Authentication: required

Parameters

Parameter Type Description
UrlCode string Required. URL code (slug) for new reaction
Name string Required. Reaction name
Description string Description of reaction
Class string Class, or grouping, of this reaction
Points string Points awarded for reaction

/reactions/edit

POST /api/v1/reactions/edit.ext HTTP/1.1
Host: https://yoursite.vanillaforums.com

Modifies an existing reaction.

Authentication: required

Parameters

Parameter Type Description
UrlCode string Required. URL code (slug) of reaction
Name string Required. Reaction name
Description string Description of reaction
Class string Class, or grouping of this reaction
Points string Points awarded for reaction

/reactions/toggle

POST /api/v1/reactions/toggle.ext HTTP/1.1
Host: https://yoursite.vanillaforums.com

Activate or de-activate a reaction.

Authentication: required

Parameters

Parameter Type Description
UrlCode string Required. URL code (slug) of reaction
Active integer Required. 1 or 0 for ‘active’ or ‘inactive’

Cloud Hosting

We believe that online communities should be intuitive, engaging and true to your brand. Vanilla allows you to create a customized community that rewards positive participation, automatically curates content and lets members drive moderation.

Learn More …