# 信息获取
- 1.获取Cid
~~~[api]
get:/push/get/cid
int:count=1#cid的数量
string:type=push#cid的类型
<<<
success
{
"body": {
"cidlist": [
"a190335ca6796d82cabb89f3-e3017e1f-accd-42e0-8ca8-63feca43a82b"
]
},
"http_code": 200,
"headers": {
"0": "HTTP/1.1 200 OK",
"Server": "nginx",
"Date": "Tue, 13 Feb 2018 07:54:01 GMT",
"Content-Type": "application/json",
"Transfer-Encoding": "chunked",
"Connection": "keep-alive",
"X-Rate-Limit-Limit": "600",
"X-Rate-Limit-Remaining": "598",
"X-Rate-Limit-Reset": "59"
}
}
~~~
- 2.获取推送池中所有标签
~~~[api]
get:/push/get/tags
<<<
success
{
"body": {
"tags": [
{
"tagid": "002",
"tagname": "软件工程"
},
{
"tagid": "001",
"tagname": "计算机科学与技术"
}
]
},
"http_code": 200,
"headers": {
"0": "HTTP/2 200 ",
"server": "nginx",
"date": "Mon, 03 Sep 2018 08:17:11 GMT",
"content-type": "application/json",
"x-rate-limit-limit": "1200",
"x-rate-limit-remaining": "1199",
"x-rate-limit-reset": "60",
"x-frame-options": "SAMEORIGIN"
},
"status": true
}
<<<
无标签
{
"body": {
"tags": []
},
"http_code": 200,
"headers": {
"0": "HTTP/2 200 ",
"server": "nginx",
"date": "Mon, 03 Sep 2018 08:20:32 GMT",
"content-type": "application/json",
"x-rate-limit-limit": "1200",
"x-rate-limit-remaining": "1199",
"x-rate-limit-reset": "60",
"x-frame-options": "SAMEORIGIN"
},
"status": false,
"title": "推送池中没有标签"
}
~~~