# Read all article categories
```javascript
WXAPI.cmsCategories()
```
```json
{
"code": 0,
"data": [
{
"id": 13615,
"isUse": true,
"level": 1,
"name": "FAQ",
"paixu": 0,
"pid": 0,
"shopId": 0,
"type": "qa",
"userId": 951
}
],
"msg": "success"
}
```
+ name category name
+ id category id
+ level classification level, 1 is level 1 category
+ pid The parent category id of this category
+ shopId The store belonging to this category, 0 represents the global store
+ key classification number
+ type is the custom type filled in when creating categories in the background
# Get article classification details
```javascript
WXAPI.cmsCategoryDetail(id)
```
+ id category id
```json
{
"code": 0,
"data": {
"extJson": {},
"info": {
"id": 13615,
"isUse": true,
"name": "FAQ",
"paixu": 0,
"pid": 0,
"shopId": 0,
"type": "qa",
"userId": 951
}
},
"msg": "success"
}
```
+ info classification details [returned from the same interface as above]
+ extJson extended attribute information set in the background of this category