getPostInfo
- Home
- Forums
- UgcForumPost
- getPostInfo
getPostInfo
Gets info about a particular forum post.
Parameters
Name | Description |
post_id required | ID of a forum post. |
decode_bb optional | Whether or not to decode bb codes within posts. |
user_relation optional | User relation of the user performing an action. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcForumPost?action=getPostInfo&post_id=516738587&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
{ "service":"ugcForumPost", "action":"getPostInfo", "code":1, "message":"Post Info Retrieved", "item":{ "post_id":"516738587", "thread_id":"28943337", "title":"This is my edited post body content...", "edited":"2019-01-30 15:31:21", "last_edited":"2019-01-30 15:31:21", "edited_by":143593317, "anonymous":"0", "created":"2012-02-23 13:45:47", "created_by":"143593317", "censored_date":"2012-03-19 14:44:26", "censored_by":"143593317", "signature":"This is my new signature text.", "content":"This is my edited post body content...", "poster_num_posts":"16", "thread_url":"/go/thread/view//28943337/My_new_thread_title...", "post_url":"/go/thread/view//28943337/My_new_thread_title...?post_id=516738587#516738587" } } |
Service Information
Service | ugcForumPost |
Method | getPostInfo |
Type | REST |
Response Types | JSON, XML |