...
Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
|
pre {
friendsList = CloudOS:subscriptionList("myConnections", "friend");
} |
getAllSubscriptions()
The getAllSubscriptions()
function will return a map of all active subscriptions within the current Personal Cloud. The subscription sample application provides an example of using this function.
Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
|
pre {
allSubscriptions = CloudOS:getAllSubscriptions();
} |
getAllPendingApproval()
The getAllPendingApprovalThe getAllPendingApproval()
function returns a map of all subscription request that are pending your approval. The subscription sample application provides an example of using this function.
Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
|
pre {
allSubscriptionsPendingApproval = CloudOS:getAllPendingApproval();
} |
getAllPendingSubscriptions
The getAllPendingSubscriptions()
function returns a map of all subscription request that have been generated within this Personal Cloud. The subscription sample application provides an example of using this function.
Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
|
pre {
allSubscriptionRequest = CloudOS:getAllPendingSubscriptions();
} |