Six Apart Developer Wiki

The Movable Type and Professional Network Wiki has been moved to wiki.movabletype.org.

Recent Changes

TypePadEndPoints

[Login] Change #12 by OpenID IdentityByrne Reese at 2006-01-05 19:54:35.

TypePad API End Points

Below is a list of commonly used API endpoints in the TypePad application:

Auto-discovery

TypePad makes it possible for many of the endpoints listed on this page to be discovered programmatically. Every weblog's index contains a "link relation" tag that references an XML file in an RSD format that catalogs all API endpoints for that weblog.

Applications can parse the index page's HTML and look for the following link in the head of the document:

<link rel="EditURI" type="application/rsd+xml" title="RSD"
      href="http://www.typepad.com/t/rsd/<BLOGID>" />

The application can then load and parse the file referenced by the href attribute. Following is an example EditURI document listing all the available API endpoints for a weblog.

Example EditURI Document

<?xml version="1.0"?> 
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
  <service>
    <engineName>TypePad</engineName> 
    <engineLink>http://www.typepad.com/</engineLink>
    <homePageLink>http://example.typepad.com/blog/</homePageLink>
    <apis>
      <api name="Atom" preferred="false" 
           apiLink="http://www.typepad.com/t/atom/weblog/blog_id=1234" />
      <api name="MetaWeblog" preferred="true" 
           apiLink="http://www.typepad.com/t/api" blogID="1234" />
      <api name="Blogger" preferred="false"
           apiLink="http://www.typepad.com/t/api" blogID="1234" />
    </apis>
  </service>
</rsd>

Weblog Endpoints

RSS

Atom

XML-RPC

The following APIs can all be accessed via the same URL:

  • metaWeblog API
  • Blogger API
  • Movable Type API

The URL for these APIs is: http://www.typepad.com/t/api

Note: The Movable Type API is not listed among the APIs in the autodiscovery document, but valid Movable Type XML-RPC requests can be directed to the same URL.

TypeList Endpoints

TypePad allows developers to manipulate TypeLists using the Atom Publishing Protocol. A list of all TypeLists associated with an account can be retrieved from the following URL:

http://www.typepad.com/t/atom/lists

The list returned by TypePad from the URL above will direct you to each individual TypeList Atom endpoint.

See Also

Photo Album Endpoints

TypePad allows developers to manipulate Photo Albums using the Atom Publishing Protocol. A list of all Photo Albums associated with an account can be retrieved from the following URL:

http://www.typepad.com/t/atom/albums

The list returned by TypePad from the URL above will direct you to each individual Photo Album Atom endpoint.

Uploading Photos Using Atom

TODO

[Login] Change #12 by OpenID IdentityByrne Reese at 2006-01-05 19:54:35.
Six Apart
Makers of weblog software and services for individuals, organizations and businesses.