You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,12 +129,37 @@ Sends a notification to the user identified by `token`. Similar to `CloudOS.send
129
129
Creates a subscription between the current user and the user identified by `token`. `namespace`, `name` and `relationship` are all strings identifying the type of subscription. `subscriptionAttributes' is a hash containing data you wish to include with the subscription.
Returns all subscriptions. I have no clue what `callParameters` is, though. None what-so-ever. `callback` is the callback function we call with the subscriptions. It should accept one parameter that is the subscriptions. It looks like:
132
+
Returns all subscriptions. `callParameters` is a string with the URL encoded parameters. The parameters that matter are `namespace` and `relationship`. For example, Forever uses `"namespace=Forever&relationship=friend"`. `callback` is the callback function we call with the subscriptions. It should accept one parameter that is the subscriptions. It looks like:
Returns friend subscriptions with their profile information. `callback` is the callback function we call with the subscriptions. It should accept one parameter that is the subscriptions. It looks like:
0 commit comments