events resource endpoint

URL: /events/<id>.<format>

Supported Methods

GET Get basic information about the selected event.

Resource Type

This endpoint returns an object of type Event.

actor (Entity)
The user who performed the action described by this event.
id (string)
A URI that serves as a globally unique identifier for the 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.
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>)
(Deprecated) An array of verb identifier URIs. This set will contain one verb identifier URI.

Client Library Methods for PHP

Get basic information about the selected event.
$tp->events->get(array(

    # Required Parameters
    "id" => $id,

))

Example Request

GET /events/6e0120a8ae8949970b012877b14fa4970c.json HTTP/1.1
Host: api.typepad.com

HTTP/1.0 200 OK
Content-type: application/json
Content-length: 1756

{
   "published": "2010-02-18T00:18:28Z",
   "urlId": "6e0120a8ae8949970b012877b14fa4970c",
   "object": {
      "urlId": "6p012877b13de7970c",
      "location": null,
      "interests": [],
      "objectTypes": [
         "tag:api.typepad.com,2009:User"
      ],
      "profilePageUrl": "http://profile.typepad.com/loblawatlaw",
      "aboutMe": null,
      "objectType": "User",
      "preferredUsername": "loblawatlaw",
      "id": "tag:api.typepad.com,2009:6p012877b13de7970c",
      "avatarLink": {
         "width": 250,
         "urlTemplate": "http://static.typepad.com/.shared:v461aee2:typepad:en_us/default-userpics/11-{spec}.gif",
         "url": "http://static.typepad.com/.shared:v461aee2:typepad:en_us/default-userpics/11-250si.gif",
         "height": 250
      },
      "displayName": "Bob Loblaw"
   },
   "verbs": [
      "tag:api.typepad.com,2009:AddedNeighbor"
   ],
   "verb": "AddedNeighbor",
   "id": "tag:api.typepad.com,2009:6e0120a8ae8949970b012877b14fa4970c",
   "actor": {
      "urlId": "6p0120a8ae8949970b",
      "location": null,
      "interests": [],
      "objectTypes": [
         "tag:api.typepad.com,2009:User"
      ],
      "profilePageUrl": "http://profile.typepad.com/matkinsdevin",
      "aboutMe": null,
      "objectType": "User",
      "preferredUsername": "matkinsdevin",
      "id": "tag:api.typepad.com,2009:6p0120a8ae8949970b",
      "avatarLink": {
         "width": 250,
         "urlTemplate": "http://static.typepad.com/.shared:v461aee2:typepad:en_us/default-userpics/08-{spec}.gif",
         "url": "http://static.typepad.com/.shared:v461aee2:typepad:en_us/default-userpics/08-250si.gif",
         "height": 250
      },
      "displayName": "Devin Jineer"
   }
}