API Documentation
internal/forums/actionHistory/create
Creates an ActionHistory row, for use in backfilling.
URL
https://disqus.com/api/3.0/internal/forums/actionHistory/create.json
Accessibility
public key, secret key
Supported request methods
POST
Supported formats
json, jsonp
Requires authentication
yes
Rate limited
inherits global rate limit
Arguments
Required
-
forum
Looks up a forum by ID (aka short name)
-
user
Looks up a user by ID
You may look up a user by username using the 'username' query type. -
action
Valid values are:
1: ApprovePost
2: UnapprovePost
3: SpamPost
4: UnspamPost
5: RestorePost
6: RemovePost
7: HighlightPost
8: UnhighlightPost
9: AddBlacklist
10: RemoveBlacklist
11: MarkAsPendingPost
12: AddWhitelist
13: RemoveWhitelist
14: AddModerator
15: RemoveModerator
16: UpdateThreadCreator
17: ApprovePostNewUser
Optional
-
dateAdded
Defaults to
null
Unix timestamp (or ISO datetime standard)
-
thread
Defaults to
null
Looks up a thread by ID
-
targetUser
Defaults to
null
Looks up a user by ID
You may look up a user by username using the 'username' query type. -
ip
Defaults to
null
IP address (defined by RFC 5322)
-
post
Defaults to
null
Looks up a post by ID