-
Notifications
You must be signed in to change notification settings - Fork 4
III.3.a. Posts
/action/createPost
See Create thread for details. The only difference is that a threadNumber field must be present, specifying the thread to add post to, and it is not required to attach a file. signAsOp mark will only be added to the post if the client IP is equal to the IP of the user who created the thread (OP).
Creates a new post in the specified thread on the specified board.
Returns an object with short post description (boardName and postNumber fields).
On any error returns an error object See Error object for details.
/action/markupText
Name of the board to create post on.
Poster e-mail. Optional.
Poster name. Optional.
Thread subject. Optional.
Post text.
Value: true|false. Optional. Defaults to false. If true, the [OP] sign will be added to the first thread post.
Value: true|false. Optional. Defaults to false. If true and the hashpass cookie is not empty, the tripcode will be added to the post.
Value: NONE|EXTENDED_WAKABA_MARK|BB_CODE|EXTENDED_WAKABA_MARK,BB_CODE. Optional. Defaults to NONE. The post text will be rendered using the specified markup mode.
Applies markup to the text and name/e-mail/etc. Returns parsed post draft for further usage.
Returns an object representing the parsed post draft.
On any error returns an error object See Error object for details.
For moderators and administrators only.
/action/editPost
See Create post for details.
Additional fields compared to Create post
The number of a post to edit.
Removed fields compared to Create post
file_<id>file_url_<id>file_<id>_ratingfileHashesfilecaptchaEnginesignAsOptripcode
This field is used to edit a post if hashpass is not specified (either for the request or for the post).
Note: users with access level MODER and higher may edit posts of the users with access level lower then their own.
Returns an object with short post description (boardName and postNumber fields).
On any error returns an error object. See Error object for details.