getThreads
Gets threads for a particular forum.
Parameters
Name | Description |
forum_id required | Forum ID. |
page optional | Page of results to return. |
num optional | Number of items to return per page. |
permission_action optional | Permission action required for the request. |
user_relation optional | User relation of the user making the request. |
sort_key optional | Key to sort forums by. |
sort_order optional | Order to arrange forum sorting. |
ignore_expired optional | Option to ignore expired threads. |
ignore_non_expiring optional | Option to ignore threads that have no expiration date (only when ‘ignore_expired’ is set to true). |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcForum?action=getThreads&forum_id=233613&page=1&num=10&permission_action=view&user_relation=member&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 |
{ "service":"ugcForum", "action":"getThreads", "code":1, "message":"Threads Retrieved", "page":1, "per_page":10 } |
Service Information
Service | ugcForum |
Method | getThreads |
Type | REST |
Response Types | JSON, XML |