Home
Retrieving blog posts
To retrieve a post from a blog, use the edit link found in the blog post entry in the blog's Weblog Entries feed.
You can use this operation to obtain blog post information that you want to preserve prior to performing an update. See Updating blog entries for more information. This method returns the Atom entry of a single blog post as opposed to a feed of all the posts. To retrieve a feed, see Searching all blog posts.
See Authenticating requests for information about how to authenticate the request.
Atom API request details
Method Resource URI Output representation GET blog post Value of the href attribute of <link rel="edit"> element of each entry in the Weblog Entries feed or the Web address returned in the HTTP location header when the blog post was created. blog post
Input
None.
Output
An Atom entry document containing the blog post. Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the blog post was successfully found and returned. If an error occurs, this header will contain one of the error codes below.
- Content-Type: application/atom+xml
- Indicates that the document returned contains data in Atom format.
Errors
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Related reference
Get a feed of recent posts for a blog