【发布时间】:2017-02-02 06:00:21
【问题描述】:
在博主中插入帖子时https://developers.google.com/oauthplayground 的 JSON 格式是什么?
【问题讨论】:
在博主中插入帖子时https://developers.google.com/oauthplayground 的 JSON 格式是什么?
【问题讨论】:
通过 Blogger API 插入新帖子的基本 JSON 格式如下 -
{
"kind": "blogger#post",
"content": "Blog Content, can contain HTML",
"blog": {
"id": "BLOGID"
},
"title": "Blog Title",
"labels": [
"Label"
],
"titleLink": "https://google.com",
"status": "LIVE"
"readerComments": "ALLOW",
"location": {
"lat": 0,
"lng": 0,
"name": "Place"
}
}
您可以尝试在https://developers.google.com/blogger/docs/3.0/reference/posts/insert 上为此端点使用 API Explorer
【讨论】: