게시물: 게시
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
승인 필요
게시물 초안을 게시합니다.
지금 사용해 보기
요청
HTTP 요청
POST https://www.googleapis.com/blogger/v3/blogs/blogId/posts/postId/publish
매개변수
매개변수 이름 |
값 |
설명 |
필수 매개변수 |
blogId |
string |
블로그의 ID입니다.
|
postId |
string |
게시물의 ID입니다.
|
선택적 매개변수 |
publishDate |
datetime |
게시물 게시를 예약할 날짜 및 시간입니다.
|
승인
이 요청에는 다음 범위 중 최소 하나를 사용하여 인증이 필요합니다. (인증 및 승인에 대해 자세히 알아보기)
범위 |
https://www.googleapis.com/auth/blogger |
요청 본문
이 메소드를 사용할 때는 요청 본문을 제공하지 마세요.
응답
요청에 성공할 경우 이 메서드는 응답 본문에 Posts 리소스를 반환합니다.
사용해 보기
아래의 API 탐색기를 사용하여 실시간 데이터를 대상으로 이 메소드를 호출하고 응답을 확인해 보세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-21(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-08-21(UTC)"],[[["\u003cp\u003ePublish a draft blog post using the \u003ccode\u003ePOST\u003c/code\u003e method and providing the \u003ccode\u003eblogId\u003c/code\u003e and \u003ccode\u003epostId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, schedule the post's publishing date and time using the \u003ccode\u003epublishDate\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThis request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/blogger\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eNo request body is needed for this operation.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a \u003ccode\u003ePosts\u003c/code\u003e resource representing the published post.\u003c/p\u003e\n"]]],[],null,["# Posts: publish\n\n**Requires [authorization](#auth)**\n\nPublish a draft post.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/blogger/v3/blogs/blogId/posts/postId/publish\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|------------|-----------------------------------------------------------|\n| **Required parameters** |||\n| `blogId` | `string` | The ID of the Blog. |\n| `postId` | `string` | The ID of the Post. |\n| **Optional parameters** |||\n| `publishDate` | `datetime` | The date and time to schedule the publishing of the Post. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/blogger/docs/3.0/using#auth)).\n\n| Scope |\n|-------------------------------------------|\n| `https://www.googleapis.com/auth/blogger` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a [Posts resource](/blogger/docs/3.0/reference/posts#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]