events resource endpoint

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

Supported Methods

GET Get a list of events describing actions that the selected user performed.

Query String Arguments

start-token
The value of the moreResultsToken property of a previous response, to retrieve more items from the same query.
max-results
Maximum number of items to return in the list response.

Resource Type

This endpoint returns an object of type Stream<Event>.

entries (array<Event>)
The items within the selected range.
estimatedTotalResults (integer)
An estimate of the total number of items in the whole stream of which this object is a chunk. null if a count cannot be determined at all, or if an exact count is returned in totalResults.
moreResultsToken (string)
An opaque token that can be used as the start-token parameter of a followup request to retrieve additional results. null if there are no more results to retrieve, but the presence of this token does not guarantee that the response to a followup request will actually contain results.
totalResults (integer)
The total number of items in the whole stream of which this object is a chunk. null if an exact count cannot be determined.

Client Library Methods for PHP

Get a list of events describing actions that the selected user performed.
$tp->users->getEvents(array(

    # Required Parameters
    "id" => $id,

    # Optional Parameters
    "limit" => $limit,
    "startToken" => $startToken,

))

Filter Endpoints

The following endpoints provide filtered views of this collection:

by-group Get a list of events describing actions that the selected user performed in a particular group.

Example Request

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

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

{
   "entries": [
      {
         "published": "2010-02-18T00:43:34Z",
         "urlId": "6e012877b13de7970c012877b163d8970c",
         "object": {
            "content": "Hey Devin...\nMy main interest is intellectual property law. Do you share an interest?",
            "favoriteCount": 0,
            "author": {
               "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
                  "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
                  "height": 250
               },
               "displayName": "Bob Loblaw"
            },
            "objectType": "Comment",
            "groups": [],
            "root": {
               "urlId": "6a012877b13de7970c012877b143d0970c",
               "excerpt": "I've started this blog to share interesting law facts and information about cases I find interesting. Information in this blog is not legal advice.",
               "objectTypes": [
                  "tag:api.typepad.com,2009:Post"
               ],
               "author": {
                  "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
                     "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
                     "height": 250
                  },
                  "displayName": "Bob Loblaw"
               },
               "permalinkUrl": "http://bobloblaw.typepad.com/blog/2010/02/welcome-t.html",
               "href": "assets/6a012877b13de7970c012877b143d0970c.json",
               "objectType": "Post",
               "type": "application/json",
               "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b143d0970c",
               "title": "Welcome to my Blog"
            },
            "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b163d7970c",
            "urlId": "6a012877b13de7970c012877b163d7970c",
            "inReplyTo": {
               "urlId": "6a012877b13de7970c012877b15d80970c",
               "permalinkUrl": "http://bobloblaw.typepad.com/blog/2010/02/welcome-t.html?cid=6a012877b13de7970c012877b15d80970c#comment-6a012877b13de7970c012877b15d80970c",
               "objectType": "Comment",
               "href": "assets/6a012877b13de7970c012877b15d80970c.json",
               "objectTypes": [
                  "tag:api.typepad.com,2009:Comment"
               ],
               "type": "application/json",
               "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b15d80970c",
               "author": {
                  "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:va4a342c:typepad:en_us/default-userpics/08-{spec}.gif",
                     "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/08-250si.gif",
                     "height": 250
                  },
                  "displayName": "Devin Jineer"
               }
            },
            "objectTypes": [
               "tag:api.typepad.com,2009:Comment"
            ],
            "container": {
               "urlId": "6a012877b13de7970c012877b13df1970c",
               "objectType": "Blog",
               "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b13df1970c",
               "homeUrl": "http://bobloblaw.typepad.com/blog/",
               "displayName": "Bob Loblaw Law Blog"
            },
            "description": null,
            "commentCount": 0,
            "published": "2010-02-18T00:43:34Z",
            "permalinkUrl": "http://bobloblaw.typepad.com/blog/2010/02/welcome-t.html?cid=6a012877b13de7970c012877b163d7970c#comment-6a012877b13de7970c012877b163d7970c",
            "textFormat": "html_convert_linebreaks",
            "commenter": {
               "href": "http://bobloblaw.typepad.com/",
               "name": "Bob Loblaw",
               "avatarLink": {
                  "width": 250,
                  "urlTemplate": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
                  "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
                  "height": 250
               }
            },
            "title": null
         },
         "verbs": [
            "tag:api.typepad.com,2009:NewAsset"
         ],
         "verb": "NewAsset",
         "id": "tag:api.typepad.com,2009:6e012877b13de7970c012877b163d8970c",
         "actor": {
            "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
               "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
               "height": 250
            },
            "displayName": "Bob Loblaw"
         }
      },
      {
         "published": "2010-02-18T00:31:02Z",
         "urlId": "6e012877b13de7970c012877b15967970c",
         "object": {
            "excerpt": "I've started this blog to share interesting law facts and information about cases I find interesting. Information in this blog is not legal advice.",
            "embeddedAudioLinks": [],
            "content": "<p>I've started this blog to share interesting law facts and information about cases I find interesting.</p>\r\n<p>Information in this blog is not legal advice.</p>",
            "reblogCount": 0,
            "favoriteCount": 2,
            "author": {
               "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
                  "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
                  "height": 250
               },
               "displayName": "Bob Loblaw"
            },
            "renderedContent": "<p>I've started this blog to share interesting law facts and information about cases I find interesting.</p>\r\n<p>Information in this blog is not legal advice.</p>",
            "hasExtendedContent": false,
            "objectType": "Post",
            "groups": [],
            "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b143d0970c",
            "embeddedVideoLinks": [],
            "urlId": "6a012877b13de7970c012877b143d0970c",
            "objectTypes": [
               "tag:api.typepad.com,2009:Post"
            ],
            "categories": [],
            "container": {
               "urlId": "6a012877b13de7970c012877b13df1970c",
               "objectType": "Blog",
               "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b13df1970c",
               "homeUrl": "http://bobloblaw.typepad.com/blog/",
               "displayName": "Bob Loblaw Law Blog"
            },
            "description": "",
            "commentCount": 2,
            "published": "2010-02-18T00:02:56Z",
            "textFormat": "html",
            "permalinkUrl": "http://bobloblaw.typepad.com/blog/2010/02/welcome-t.html",
            "embeddedImageLinks": [],
            "filename": "welcome-t",
            "shortUrl": "http://bit.ly/aj4Deb",
            "title": "Welcome to my Blog"
         },
         "verbs": [
            "tag:api.typepad.com,2009:AddedFavorite"
         ],
         "verb": "AddedFavorite",
         "id": "tag:api.typepad.com,2009:6e012877b13de7970c012877b15967970c",
         "actor": {
            "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
               "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
               "height": 250
            },
            "displayName": "Bob Loblaw"
         }
      },
      {
         "published": "2010-02-18T00:02:57Z",
         "urlId": "6e012877b13de7970c012877b143d2970c",
         "object": {
            "excerpt": "I've started this blog to share interesting law facts and information about cases I find interesting. Information in this blog is not legal advice.",
            "embeddedAudioLinks": [],
            "content": "<p>I've started this blog to share interesting law facts and information about cases I find interesting.</p>\r\n<p>Information in this blog is not legal advice.</p>",
            "reblogCount": 0,
            "favoriteCount": 2,
            "author": {
               "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
                  "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
                  "height": 250
               },
               "displayName": "Bob Loblaw"
            },
            "renderedContent": "<p>I've started this blog to share interesting law facts and information about cases I find interesting.</p>\r\n<p>Information in this blog is not legal advice.</p>",
            "hasExtendedContent": false,
            "objectType": "Post",
            "groups": [],
            "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b143d0970c",
            "embeddedVideoLinks": [],
            "urlId": "6a012877b13de7970c012877b143d0970c",
            "objectTypes": [
               "tag:api.typepad.com,2009:Post"
            ],
            "categories": [],
            "container": {
               "urlId": "6a012877b13de7970c012877b13df1970c",
               "objectType": "Blog",
               "id": "tag:api.typepad.com,2009:6a012877b13de7970c012877b13df1970c",
               "homeUrl": "http://bobloblaw.typepad.com/blog/",
               "displayName": "Bob Loblaw Law Blog"
            },
            "description": "",
            "commentCount": 2,
            "published": "2010-02-18T00:02:56Z",
            "textFormat": "html",
            "permalinkUrl": "http://bobloblaw.typepad.com/blog/2010/02/welcome-t.html",
            "embeddedImageLinks": [],
            "filename": "welcome-t",
            "shortUrl": "http://bit.ly/aj4Deb",
            "title": "Welcome to my Blog"
         },
         "verbs": [
            "tag:api.typepad.com,2009:NewAsset"
         ],
         "verb": "NewAsset",
         "id": "tag:api.typepad.com,2009:6e012877b13de7970c012877b143d2970c",
         "actor": {
            "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
               "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
               "height": 250
            },
            "displayName": "Bob Loblaw"
         }
      },
      {
         "published": "2010-02-17T23:54:56Z",
         "urlId": "6e012877b13de7970c012877b13def970c",
         "object": {
            "urlId": "6p00d83451c82369e2",
            "location": "San Francisco, Tokyo, New York City, Paris",
            "interests": [
               "design",
               "media",
               "blogs",
               "fun"
            ],
            "objectTypes": [
               "tag:api.typepad.com,2009:User"
            ],
            "profilePageUrl": "http://profile.typepad.com/typepadeverything",
            "aboutMe": "Typepad loves you.",
            "objectType": "User",
            "preferredUsername": "typepadeverything",
            "id": "tag:api.typepad.com,2009:6p00d83451c82369e2",
            "avatarLink": {
               "width": 250,
               "urlTemplate": "http://up3.typepad.com/6a00d83451c82369e20168ebba2aa0970c-{spec}",
               "url": "http://up3.typepad.com/6a00d83451c82369e20168ebba2aa0970c-pi",
               "height": 250
            },
            "displayName": "The Typepad Team"
         },
         "verbs": [
            "tag:api.typepad.com,2009:AddedNeighbor"
         ],
         "verb": "AddedNeighbor",
         "id": "tag:api.typepad.com,2009:6e012877b13de7970c012877b13def970c",
         "actor": {
            "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:va4a342c:typepad:en_us/default-userpics/11-{spec}.gif",
               "url": "http://static.typepad.com/.shared:va4a342c:typepad:en_us/default-userpics/11-250si.gif",
               "height": 250
            },
            "displayName": "Bob Loblaw"
         }
      }
   ],
   "estimatedTotalResults": 12
}