AI-generated Key Takeaways
-
Publish a draft blog post using the
POST
method and providing theblogId
andpostId
. -
Optionally, schedule the post's publishing date and time using the
publishDate
parameter. -
This request requires authorization with the
https://www.googleapis.com/auth/blogger
scope. -
No request body is needed for this operation.
-
A successful response returns a
Posts
resource representing the published post.
Requires authorization
Publish a draft post. Try it now.
Request
HTTP request
POST https://www.googleapis.com/blogger/v3/blogs/blogId/posts/postId/publish
Parameters
Parameter name | Value | Description |
---|---|---|
Required parameters | ||
blogId |
string |
The ID of the Blog. |
postId |
string |
The ID of the Post. |
Optional parameters | ||
publishDate |
datetime |
The date and time to schedule the publishing of 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 |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a Posts resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.