Osapi.messages (v0.9)

From VZ Developer Wiki
Jump to: navigation, search

This documentation is not completed yet and will be extended by more examples in future.

osapi.messages

Service object with functions that map to the [./RPC-Protocol.xml#Messages JSON-RPC Messages endpoint].

Methods

osapi.messages.send

<static> osapi.Request osapi.messages.send(params)
Parameters
Name Type Description
params {
AuthToken auth = HttpRequest.Authorization,
String userId = "@me",
opensocial.Message message
}
An optional JSON object containing request parameters. See the send operation of the [./RPC-Protocol.xml#Messages JSON-RPC Messages service] for more details.
Returns
Type Description
osapi.Request A request to retrieve information from the [./RPC-Protocol.xml#Messages JSON-RPC Messages service].
Description
Builds a request to send a message from the Messages JSON-RPC service.



OpenSocial (v0.9)

gadgets

gadgets.io

gadgets.json

gadgets.Prefs

gadgets.util

gadgets.views

gadgets.flash

gadgets.MiniMessage

gadgets.oauth.Popup

gadgets.rpc

gadgets.skins

gadgets.pubsub

gadgets.Tab

gadgets.TabSet

gadgets.window

gadgets.i18n

opensocial

opensocial.Activity

opensocial.Address

opensocial.Album

opensocial.BodyType

opensocial.Collection

opensocial.CreateActivityPriority

opensocial.DataRequest

opensocial.DataResponse

opensocial.Email

opensocial.Enum

opensocial.Environment

opensocial.EscapeType

opensocial.IdSpec

opensocial.MediaItem

opensocial.Message

opensocial.MessageCollection

opensocial.Name

opensocial.NavigationParameters

opensocial.Organization

opensocial.Permission

opensocial.Person

opensocial.Phone

opensocial.ResponseItem

opensocial.Url

osapi.Request

osapi.BatchRequest

osapi.people

osapi.activities

osapi.appdata

osapi.messages

osapi.http