Home
Using the publishing APIs
Blogs provides a set of feeds and service documents that implement the Atom Publishing Protocol. You can use these publishing APIs in your applications to interact with the Blogs feature programmatically.
The publishing APIs require authentication. When interacting with blogs that you own or author, you can retrieve even more detailed information about the blog. If you want your application to solely read existing information from a blog, see Using the Blogs subscription feeds instead.
The Blogs publishing APIs do not document URL strings for most of the resources; instead your program should follow the links from the service document to a particular feed, and then use the links in the Atom entries contained in the feed to update or delete or comment on an individual entry.
You can perform the following tasks using the publishing APIs:
- Navigating Blogs publishing API resources
Describes how to navigate from one Blogs resource to another using the resources made available through the API.- Retrieving the Blogs service document
Before your applications can create or update information in a blog, retrieve the service document. You can use the links that it provides to locate the resources that you want to update.- Working with blog posts
Using the Atom Publishing Protocol, or Atompub, you can create or update posts in a blog.- Commenting on blog posts
Using the Atom Publishing Protocol, or Atompub, you can comment on blog posts that you authored.- Working with recommendations
Using the Atom Publishing Protocol, or Atompub, you can recommend blog posts.- Working with media resources
Using the Atom Publishing Protocol, or Atompub, you can upload and replace files in your blog.- Working with blogs
Using the Atom Publishing Protocol, or Atompub, you can add or delete a blog by adding or removing its definition entry. You can also update or replace the blog by updating or replacing its definition entry.- Working with tags
Using the Atom Publishing Protocol, or Atompub, you can retrieve the tags that have been assigned to one or more blog entries.- Manage blog content
Using the Atom Publishing Protocol, or Atompub, you can flag content as inappropriate so that the site administrator can take care of it.