GET api/Far/MicroApp/Personal/Notify/Info
获取当前用户是否已开启推送。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
获取当前用户是否已开启推送。
CommonOperationResultWithTagOfMicroAppFarmerNotifyResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | MicroAppFarmerNotifyResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"AlreadyFocused": true,
"NotifyEnabled": true
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfMicroAppFarmerNotifyResult_PotfcB0m xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
<errcode>1</errcode>
<errmsg>sample string 2</errmsg>
<tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.CleverFarmer.Result">
<d2p1:AlreadyFocused>true</d2p1:AlreadyFocused>
<d2p1:NotifyEnabled>true</d2p1:NotifyEnabled>
</tag>
</CommonOperationResultWithTagOfMicroAppFarmerNotifyResult_PotfcB0m>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.