getBoardList
Gets a hierarchical list of categories and forums for a site.
Parameters
Name | Description |
blog_id required | Blog ID (Site ID) the forum belongs to. |
user_relation optional | User relation of the user making the request. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcForum?action=getBoardList&blog_id=225642611&user_relation=member&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{ "service":"ugcForum", "action":"getBoardList", "code":1, "message":"Board list retrieved successfully.", "item":{ "139071":{ "title":"My New Category Name", "forums":{ "139071/253685":{ "forum_id":"253685", "title":"My New Forum" } } } } } |
Service Information
Service | ugcForum |
Method | getBoardList |
Type | REST |
Response Types | JSON, XML |