-
Notifications
You must be signed in to change notification settings - Fork 4
III.3.b. Threads
/action/createThread
Name of the board to create thread on.
Identifier of captcha engine used to solve/check captcha. Optional if user captcha quota is greater than 0 for the board.
Actual field(s) name(s) depends on the captcha engine used. See Captcha engines for details. Optional if user captcha quota is greater than 0 for the board.
List of comma-separated file hashes. Optional. If corresponding files exist on the server, they will be copied and used just as normal attached files.
Poster e-mail. Optional.
Poster name. Optional.
Thread subject. Optional.
Post text. Optional if one or more files are attached (including file hashes and file URLs).
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.
Password, which may be used to delete the thread later. Optional.
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.
File. Optional on some boards. <id> should be unique and correspond to the file_<id>_rating field. Files with no data (zero size) are ignored.
File URL. Optional on some boards. <id> should be unique and correspond to the file_<id>_rating field. Files specified by URLs will be downloaded on the server side. Files with no data (zero size) are ignored.
Value: SFW|R-15|R-18|R-18G. Optional. Defaults to SFW. <id> must correspond to the file_<id> or file_url_<id> field.
Creates a new thread on the specified board.
Returns an object with short thread description (boardName and threadNumber fields).
On any error returns an error object. See Error object for details.
Note: a user must have access level MODER or higher to move a thread.
/action/moveThread
Name of the board of the target thread.
Numbr of the target thread.
Name of the board to move the thread to.
This field is used to move a thread if hashpass is not specified (either for the request or for the corresponding post).
Moves the specified thread to another board. Post numbers are changed, post links are changed, and attached files are moved. Post search index and other stuff are changed accordingly.
Returns an object with short thread description (boardName and threadNumber fields).
On any error returns an error object. See Error object for details.
Note: a user must have access level MODER or higher to make a thread fixed/not fixed.
/action/setThreadFixed
Name of the board of the target thread.
Numbr of the target thread.
Determines if a thread should be marked as fixed or not. Values: true|false (strings, not booleans, because HTTP POST does not support booleans).
Marks thr target thread as fixed or not fixed.
Returns an object with short thread description (boardName and threadNumber fields)e.
On any error returns an error object. See Error object for details.
Note: a user must have access level MODER or higher to make a thread closed/opened.
/action/setThreadClosed
Name of the board of the target thread.
Numbr of the target thread.
Determines if a thread should be marked as closed or not. Values: true|false (strings, not booleans, because HTTP POST does not support booleans).
Marks the target thread as closed or not opened.
Returns an object with short thread description (boardName and threadNumber fields).
On any error returns an error object. See Error object for details.
Note: a user must have access level MODER or higher to make a thread unbumpable.
/action/setThreadUnbumpable
Name of the board of the target thread.
Numbr of the target thread.
Determines if a thread should be marked as unbumpable. Values: true|false (strings, not booleans, because HTTP POST does not support booleans).
Marks the target thread as unbumpable or bumpable. Unbumpable threads are not bumped on new posts.
Returns an object with short thread description (boardName and threadNumber fields).
On any error returns an error object. See Error object for details.