createThread


Creates a new forum thread.

Parameters

Name Description
node_id required Node ID the thread belongs to.
forum_id required Forum ID the thread belongs to.
thread_title optional Title of the thread.
parent_post_id optional The id of the parent post
post_content required Content (main body) of the thread/first post.
optional
created_by required User ID that created the thread.
user_relation required User relation of the user making the request.
sticky optional Whether or not a thread is sticky (appears at top of the list).
lock optional Whether or not to immediately lock the thread.
expires optional Future date the thread should become locked.
status optional The status of the thread
anonymous optional Whether or not the thread/post is being created anonymously.
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/ugcForumThread?action=createThread&node_id=188234&forum_id=233613&post_content=My new thread…&created_by=143593317&user_relation=member&devkey=[devkey]

JSON Response