Spec Documentation for Social


Methods

Method: "com.openautonomy.protocols.social.getLocalMutationsSinceVersion" (XML-RPC)

Requests the array of entities since the given id.

Arguments

Returns: socialMutationArray

Method: "com.openautonomy.protocols.social.createSocialRoot" (XML-RPC)

Creates a new social tree root in the receiver's forest. Returns the new rootId or an error. None of the arguments can be null but replyContextUrl is allowed to be the empty string. If it is an empty string, the built-in comment system will be used. If it is non-empty, that Url will be served as a link for more context, instead.

Arguments

Returns: int

Method: "com.openautonomy.protocols.social.addComment" (XML-RPC)

Note that this can only be called on a foreign social app and all data coming through this call will be "authored" by the referring identity so it is important that only the application owner can call this path.
On success, this returns the array since the version stated (as with getLocalMutationsSinceVersion). It returns on error, on failure.

Arguments

Returns: socialMutationArray

Method: "com.openautonomy.protocols.social.deleteComment" (XML-RPC)

Note that this can only be called on a foreign social app and all data coming through this call will be "authored" by the referring identity so it is important that only the application owner can call this path.
On success, this returns the array since the version stated (as with getLocalMutationsSinceVersion). It returns on error, on failure.

Arguments

Returns: socialMutationArray

Method: "com.openautonomy.protocols.social.postNotification" (XML-RPC)

Posts the given notification to the user's social notification feed. The identity owning the sending application will be considered the "author".

Arguments

Returns: boolean

Variable Types

Array types

Struct types

Primitive Types

Constrained Types