Disqus is a service for web comments and discussions. Disqus makes commenting easier and more interactive, helping publishers power online discussions.
Status: Preview |
Tier: Standard |
Version: 1.0.0 |
Name |
Summary |
Create a comment |
|
Reply to a comment |
|
Remove a comment |
|
GetFollowedForums ([internal][Optional]string order, [internal][Optional]integer limit) |
Get followed channels |
Follow a discussion |
|
Open a discussion |
|
Close a discussion |
|
Recommend a discussion |
|
Get discussion by Id |
|
GetForumThreads (string forum, [internal][Optional]string order, [internal][Optional]integer limit) |
Get discussions in a channel |
Name |
Summary |
When a comment is created |
|
OnThreadCreated (string forum, [internal][Optional]string order, [internal][Optional]integer limit) |
When a discussion is created |
Name |
Summary |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Create a comment
Description: Create a comment on a specified thread.
Syntax:
Disqus.CreatePost (string thread, string message)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
thread |
string (Discussion Id) |
The unique id of the discussion |
True |
|
message |
string (Message) |
The content of the comment. |
True |
Returns:
Type:CreatePostResponse
Summary: Reply to a comment
Description: Reply to a specified comment.
Syntax:
Disqus.ReplyToPost (string parent, string message)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
parent |
string (Parent Comment Id) |
The id of the comment to reply to. |
True |
|
message |
string (Message) |
The content of the comment. |
True |
Returns:
Type:CreatePostResponse
Summary: Remove a comment
Description: Remove a comment.
Syntax:
Disqus.RemovePost (string post)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
post |
string (Comment Id) |
The id of the comment to remove. |
True |
Returns:
Summary: Get followed channels
Description: Get a list of the channels the current user follows.
Syntax:
Disqus.GetFollowedForums ([internal][Optional]string order, [internal][Optional]integer limit)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
order |
string
|
|
False |
|
limit |
integer(int32)
|
|
False |
Returns:
Type:array of (Forum)
Summary: Follow a discussion
Description: Follow a discussion.
Syntax:
Disqus.SubscribeToThread (string thread)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
thread |
string (Discussion Id) |
The unique id of the discussion to follow. |
True |
Returns:
Type:EmptyResponse
Summary: Open a discussion
Description: Opens a discussion (for moderators of this forum only).
Syntax:
Disqus.OpenThread (string thread)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
thread |
string (Discussion Id) |
The unique id of the discussion to open. |
True |
Returns:
Summary: Close a discussion
Description: Closes a discussion (for moderators of this forum only).
Syntax:
Disqus.CloseThread (string thread)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
thread |
string (Discussion Id) |
The unique id of the discussion to close. |
True |
Returns:
Summary: Recommend a discussion
Description: Recommend a discussion.
Syntax:
Disqus.RecommendThread (string thread, [internal]string vote)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
thread |
string (Discussion Id) |
The unique id of the discussion to recommend. |
True |
|
vote |
string
|
|
True |
Returns:
Summary: Get discussion by Id
Description: Returns the details of a discussion by Id.
Syntax:
Disqus.GetThread (string thread)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
thread |
string (Discussion Id) |
The unique id of the discussion. |
True |
Returns:
Type:GetThreadResponse
Summary: Get discussions in a channel
Description: Returns a list of discussions in the specified channel.
Syntax:
Disqus.GetForumThreads (string forum, [internal][Optional]string order, [internal][Optional]integer limit)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
forum |
string (Channel) |
The unique name of the channel |
True |
|
order |
string
|
|
False |
|
limit |
integer(int32)
|
|
False |
Returns:
Type:array of (Thread)
Summary: When a comment is created
Description: Triggers a flow when a comment is created on a specified discussion.
Syntax:
Disqus.OnPostCreated (string forum, [Optional]string thread, [internal][Optional]string order, [internal][Optional]integer limit)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
forum |
string (Channel) |
The unique name of the channel |
True |
|
thread |
string (Discussion) |
The unique id of the discussion. |
False |
|
order |
string
|
|
False |
|
limit |
integer(int32)
|
|
False |
Returns:
Type:array of (Post)
Summary: When a discussion is created
Description: Triggers a flow when a discussion is created on a specified forum.
Syntax:
Disqus.OnThreadCreated (string forum, [internal][Optional]string order, [internal][Optional]integer limit)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
forum |
string (Channel) |
The unique name of the channel |
True |
|
order |
string
|
|
False |
|
limit |
integer(int32)
|
|
False |
Returns:
Type:array of (Thread)
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string Author Id |
The id of the author. |
joinedAt |
string(date-time) Author Join Date |
The date/time the author joined Disqus. |
isVerified |
boolean Is Verified Author |
Set to true if the author is verified. |
username |
string Author Username |
The username of the author. |
about |
string About the Author |
Details about the author. |
name |
string Author Name |
The name of the author. |
profileUrl |
string Author Profile URL |
The URL of the author profile. |
isAnonymous |
boolean Is Anonymous Author |
Set to true if the author is anonymous. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
response |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
response |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
description |
string HTML Description |
The description of the channel in HTML. |
url |
string Channel URL |
The URL of the channel. |
raw_description |
string Description |
The description of the channel in raw format (not HTML). |
language |
string Language |
Language Code |
daysAlive |
integer(int32) Days Alive |
The number of days the channel has been alive. |
id |
string Channel Id |
The id of the channel. |
createdAt |
string(date-time) Created At |
The date/time the channel was created at. |
name |
string Channel Name |
The name of the channel. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
response |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
response |
array of (ResponseItem)
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
dislikes |
integer(int32) Dislikes |
Number of dislikes. |
thread |
string Discussion Id |
The id of the discussion. |
likes |
integer(int32) Likes |
Number of likes. |
message |
string HTML Message |
The message text in HTML. |
id |
string Comment Id |
The id of the comment. |
author |
|
|
isSpam |
boolean Is Spam |
|
createdAt |
string(date-time) Created At |
The date/time the comment was created at. |
parent |
integer(int32) Parent Comment Id |
The id of the parent discussion. |
isApproved |
boolean Is Approved |
Set to true if the moderator has approved the comment. |
isFlagged |
boolean Is Flagged |
Set to true if the comment has been flagged. |
raw_message |
string Message |
The message text in raw format (not HTML). |
isHighlighted |
boolean Is Featured |
Set to true if the comment is featured. |
forum |
string Channel Id |
The id of the channel. |
isEdited |
boolean Is Edited |
Set to true if the comment is edited. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
response |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
thread |
|
|
vote |
integer(int32) Vote |
Result after voting |
Summary:
Description:
Properties:
Name |
Type |
Summary |
feed |
string RSS Feed |
The URL of the RSS feed. |
dislikes |
integer(int32) Dislikes |
The number of dislikes on the discussion. |
likes |
integer(int32) Likes |
The number of likes on the discussion. |
message |
string HTML Message |
The message text in HTML. |
id |
string Discussion Id |
The id of the discussion. |
author |
string Author Id |
The id of the author. |
createdAt |
string(date-time) Created At |
The date/time the discussion was created at. |
raw_message |
string Message |
The message text in raw format (not HTML). |
link |
string Link |
The link to the discussion. |
forum |
string Channel Id |
The id of the channel. |
clean_title |
string
|
|
posts |
integer(int32) Number of comments |
The number of comments on this discussion. |
title |
string Title |
The title of the discussion. |