SAY MEDIA > WWW-TypePad > WWW::TypePad::Events

Download:
WWW-TypePad-0.4002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WWW::TypePad::Events - Events API methods

METHODS ^

get
  my $res = $tp->events->get($id);

Get basic information about the selected event.

Returns Event which contains following properties.

id

(string) A URI that serves as a globally unique identifier for the event.

urlId

(string) A string containing the canonical identifier that can be used to identify this object in URLs. This can be used to recognise where the same event is returned in response to different requests, and as a mapping key for an application's local data store.

verb

(string) A keyword identifying the type of event this is.

verbs

(set<string>) B<Deprecated> An array of verb identifier URIs. This set will contain one verb identifier URI.

actor

(Entity) The user who performed the action described by this event.

object

(Base) The object to which the action described by this event was performed.

published

(datetime) The time at which the event was performed, as a W3CDTF timestamp.

syntax highlighting: