创建文档分区

POST /apiv2/categories.json
调用权限

admin

curl 示例
curl https://{subdomain}.kf5.com/apiv2/categories.json \
  -H "Content-Type: application/json" -d '{"category": {"title": "post category","content": "this is content"}}' \
  -v -u {email_address}:{password}  -X POST
返回示例
Status: 200 OK
Location: https://{subdomain}.kf5.com/apiv2/categories/{id}.json{
  "category": {
      "id":   1234,
      "title": "post category",
      ...   }}