Add listSubscriptions method to API #349

Merged
grant-olson merged 1 commits from listSubscriptions_api_method into master 2013-07-31 01:51:59 +02:00
grant-olson commented 2013-07-31 01:45:42 +02:00 (Migrated from github.com)

There are currently addSubscription and deleteSubscription methods for the API, but there is no way to iterate over existing subscriptions. This pull request adds the api method listSubscriptions, which returns subscriptions in the following json format:

{"subscriptions":[{
"address": "BM-GtovgYdgs7qXPkoYaRgrLFuFKz1SFpsw",
"enabled": true,
"label": "Qml0bWVzc2FnZSBuZXcgcmVsZWFzZXMvYW5ub3VuY2VtZW50cw==\n"
},{...}, ...]}
There are currently `addSubscription` and `deleteSubscription` methods for the API, but there is no way to iterate over existing subscriptions. This pull request adds the api method listSubscriptions, which returns subscriptions in the following json format: ``` {"subscriptions":[{ "address": "BM-GtovgYdgs7qXPkoYaRgrLFuFKz1SFpsw", "enabled": true, "label": "Qml0bWVzc2FnZSBuZXcgcmVsZWFzZXMvYW5ub3VuY2VtZW50cw==\n" },{...}, ...]} ```
Atheros1 commented 2013-07-31 01:52:08 +02:00 (Migrated from github.com)

Thank you!

Thank you!
This repo is archived. You cannot comment on pull requests.
No description provided.