...
- domain: cloudos
- type: subscriptionRequestAdded
- attributes: targetChannel, backChannel, namespace, relationship, channelName
Code Block | ||||
---|---|---|---|---|
| ||||
fired {
raise cloudos event subscribe
with channelName = "Coworkers Bob+Ted"
and namespace = "MyFriends"
and relationship = "friend-friend"
and targetChannel = "3f15b820-af7f-012f-4c6e-00163ebczzzz"
and _api = "sky";
} |
The Personal Cloud receiving the subscription request will have the following event raised to signal the receipt of a pending subscription request:
- domain: cloudos
- type: subscriptionRequestPending
- attributes: eventChannel, namespace, relationship, channelName
Code Block | ||||
---|---|---|---|---|
| ||||
rule receive_subscriptionRequestAdded
select when cloudos subscriptionRequestAdded
namespace re/MyFriends"
channelName re/Coworkers Bob+Ted/
relationship re/friend-friend/ |
Subscription Approval or Rejection
...