moveCategory
- Home
- Forums
- UgcForumCategory
- moveCategory
moveCategory
Moves a category to the desired position within the list of categories.
Parameters
Name | Description |
node_id required | Node ID the forum category belongs to. |
blog_id required | The Blog ID (Site ID) to load a list of categories for. |
category_id required | The ID of a message board category. |
direction required | The direction to move when moving a category. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcForumCategory?action=moveCategory&node_id=188234&blog_id=225642611&category_id=139071&direction=down&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"ugcForumCategory", "action":"moveCategory", "code":1, "message":"Category successfully moved.", "item":true } |
Service Information
Service | ugcForumCategory |
Method | moveCategory |
Type | REST |
Response Types | JSON, XML |