AI-generated Key Takeaways
-
Retrieves a specific blog post and associated user information using the post ID and user ID.
-
Requires authorization with either
https://www.googleapis.com/auth/blogger
orhttps://www.googleapis.com/auth/blogger.readonly
scopes. -
Includes optional parameters like
maxComments
to limit the number of comments returned with the post. -
Returns a
PostUserInfos
resource containing the post and user details upon successful execution. -
Allows testing the method with live data using the provided APIs Explorer.
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.