AI-generated Key Takeaways
-
This method retrieves one post and user info pair using
postIdanduserId. -
It requires authorization and uses a GET HTTP request method.
-
The request includes required parameters for
blogId,postId, anduserId, as well as an optionalmaxCommentsparameter. -
A request body should not be supplied.
-
A successful response returns a PostUserInfos resource.
Requires authorization
Gets one post and user info pair by postId and userId. Try it now.
Request
HTTP request
GET https://www.googleapis.com/blogger/v3/users/userId/blogs/blogId/posts/postId
Parameters
| Parameter name | Value | Description |
|---|---|---|
| Required parameters | ||
blogId |
string |
The ID of the blog. |
postId |
string |
The ID of the post to get. |
userId |
string |
ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. |
| Optional parameters | ||
maxComments |
unsigned integer |
Maximum number of comments to retrieve for the post. |
Authorization
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
| Scope |
|---|
https://www.googleapis.com/auth/blogger |
https://www.googleapis.com/auth/blogger.readonly |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a PostUserInfos resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.