Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持辅助通道参数 #161

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
基于阿里云sdk,fix支持push辅助通道参数
apis/push-2016-08-01.json增加
"AndroidPopupActivity": {
"type": "string"
},
"AndroidPopupTitle": {
"type": "string"
},
"AndroidPopupBody": {
"type": "string"
},

## 原来 阿里云 js sdk 还能这么用

OSS Browser - 提供类似windows资源管理器功能 https://github.com/aliyun/oss-browser
Expand All @@ -9,7 +21,7 @@ Open5 - 基于阿里云 Open API 的开源 H5 生成工具 https://github.com/
### Node.js 安装

```sh
npm install aliyun-sdk
npm install aliyun-sdk-push
```

### 浏览器端安装
Expand Down
73 changes: 41 additions & 32 deletions apis/push-2016-08-01.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"format": "pop",
"apiVersion": "2016-08-01",
"apiVersion": "2016-08-01",
"checksumFormat": "md5",
"endpointPrefix": "push",
"serviceAbbreviation": "PUSH",
"serviceFullName": "Aliyun PUSH",
"endpointPrefix": "push",
"serviceAbbreviation": "PUSH",
"serviceFullName": "Aliyun PUSH",
"signatureVersion": "pop",
"timestampFormat": "top",
"xmlnamespace": "",
"operations": {
"bindAlias": {
"bindAlias": {
"name": "BindAlias",
"http": {
"method": "POST",
Expand Down Expand Up @@ -37,7 +37,7 @@
}
}
},
"bindTag": {
"bindTag": {
"name": "BindTag",
"http": {
"method": "POST",
Expand Down Expand Up @@ -69,7 +69,7 @@
}
}
},
"clearAlias": {
"clearAlias": {
"name": "ClearAlias",
"http": {
"method": "POST",
Expand All @@ -93,7 +93,7 @@
}
}
},
"deleteTag": {
"deleteTag": {
"name": "DeleteTag",
"http": {
"method": "POST",
Expand All @@ -117,7 +117,7 @@
}
}
},
"listPushRecords": {
"listPushRecords": {
"name": "ListPushRecords",
"http": {
"method": "POST",
Expand Down Expand Up @@ -155,7 +155,7 @@
}
}
},
"listTags": {
"listTags": {
"name": "ListTags",
"http": {
"method": "POST",
Expand All @@ -175,7 +175,7 @@
}
}
},
"push": {
"push": {
"name": "Push",
"http": {
"method": "POST",
Expand Down Expand Up @@ -248,6 +248,15 @@
"AndroidXiaoMiNotifyBody": {
"type": "string"
},
"AndroidPopupActivity": {
"type": "string"
},
"AndroidPopupTitle": {
"type": "string"
},
"AndroidPopupBody": {
"type": "string"
},
"AndroidMusic": {
"type": "string"
},
Expand Down Expand Up @@ -293,7 +302,7 @@
}
}
},
"pushMessageToAndroid": {
"pushMessageToAndroid": {
"name": "PushMessageToAndroid",
"http": {
"method": "POST",
Expand Down Expand Up @@ -329,7 +338,7 @@
}
}
},
"pushMessageToiOS": {
"pushMessageToiOS": {
"name": "PushMessageToiOS",
"http": {
"method": "POST",
Expand Down Expand Up @@ -365,7 +374,7 @@
}
}
},
"pushNoticeToiOS": {
"pushNoticeToiOS": {
"name": "PushNoticeToiOS",
"http": {
"method": "POST",
Expand Down Expand Up @@ -407,7 +416,7 @@
}
}
},
"pushNoticeToAndroid": {
"pushNoticeToAndroid": {
"name": "PushNoticeToAndroid",
"http": {
"method": "POST",
Expand Down Expand Up @@ -446,7 +455,7 @@
}
}
},
"queryAlias": {
"queryAlias": {
"name": "QueryAlias",
"http": {
"method": "POST",
Expand All @@ -470,7 +479,7 @@
}
}
},
"queryTags": {
"queryTags": {
"name": "QueryTags",
"http": {
"method": "POST",
Expand Down Expand Up @@ -498,7 +507,7 @@
}
}
},
"queryDeviceInfo": {
"queryDeviceInfo": {
"name": "QueryDeviceInfo",
"http": {
"method": "POST",
Expand All @@ -522,7 +531,7 @@
}
}
},
"unbindTag": {
"unbindTag": {
"name": "UnbindTag",
"http": {
"method": "POST",
Expand Down Expand Up @@ -554,7 +563,7 @@
}
}
},
"unbindAlias": {
"unbindAlias": {
"name": "UnbindAlias",
"http": {
"method": "POST",
Expand Down Expand Up @@ -582,7 +591,7 @@
}
}
},
"queryAppPushStat": {
"queryAppPushStat": {
"name": "QueryAppPushStat",
"http": {
"method": "POST",
Expand Down Expand Up @@ -614,7 +623,7 @@
}
}
},
"queryPushStat": {
"queryPushStat": {
"name": "QueryPushStat",
"http": {
"method": "POST",
Expand All @@ -638,7 +647,7 @@
}
}
},
"queryDeviceStat": {
"queryDeviceStat": {
"name": "QueryDeviceStat",
"http": {
"method": "POST",
Expand Down Expand Up @@ -674,7 +683,7 @@
}
}
},
"queryUniqueDeviceStat": {
"queryUniqueDeviceStat": {
"name": "QueryUniqueDeviceStat",
"http": {
"method": "POST",
Expand Down Expand Up @@ -706,7 +715,7 @@
}
}
},
"listTinyApps": {
"listTinyApps": {
"name": "ListTinyApps",
"http": {
"method": "POST",
Expand All @@ -722,7 +731,7 @@
}
}
},
"listSummaryApps": {
"listSummaryApps": {
"name": "ListSummaryApps",
"http": {
"method": "POST",
Expand All @@ -738,7 +747,7 @@
}
}
},
"queryPushStatByApp": {
"queryPushStatByApp": {
"name": "QueryPushStatByApp",
"http": {
"method": "POST",
Expand Down Expand Up @@ -770,7 +779,7 @@
}
}
},
"queryPushStatByMsg": {
"queryPushStatByMsg": {
"name": "QueryPushStatByMsg",
"http": {
"method": "POST",
Expand All @@ -794,7 +803,7 @@
}
}
},
"queryAliases": {
"queryAliases": {
"name": "QueryAliases",
"http": {
"method": "POST",
Expand All @@ -818,7 +827,7 @@
}
}
},
"cancelPush": {
"cancelPush": {
"name": "CancelPush",
"http": {
"method": "POST",
Expand All @@ -842,7 +851,7 @@
}
}
},
"queryPushDetail": {
"queryPushDetail": {
"name": "QueryPushDetail",
"http": {
"method": "POST",
Expand All @@ -866,7 +875,7 @@
}
}
},
"checkDevice": {
"checkDevice": {
"name": "CheckDevice",
"http": {
"method": "POST",
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "aliyun-sdk",
"description": "Aliyun SDK for JavaScript",
"version": "1.10.18",
"name": "aliyun-sdk-push",
"description": "fix push:Aliyun SDK for JavaScript",
"version": "1.10.19",
"author": {
"name": "chylvina",
"email": "chylvina@gmail.com"
"name": "pail",
"email": "pail.jin@gmail.com"
},
"homepage": "https://github.com/aliyun-UED/aliyun-sdk-js.git",
"homepage": "https://github.com/pailjin/aliyun-sdk-js",
"contributors": [],
"devDependencies": {
"coffee-script": "1.6.3",
Expand Down Expand Up @@ -49,13 +49,13 @@
},
"repository": {
"type": "git",
"url": "[email protected]:aliyun-UED/aliyun-sdk-js.git"
"url": "[email protected]:pailjin/aliyun-sdk-js.git"
},
"bugs": {
"url": "https://github.com/aliyun-UED/aliyun-sdk-js/issues",
"url": "https://github.com/pailjin/aliyun-sdk-js/issues",
"mail": ""
},
"keywords": [],
"keywords": ["push","aliyun-sdk-js"],
"scripts": {
"test": "mocha test"
}
Expand Down