1

当您在博主中插入帖子时, https://developers.google.com/oauthplayground的 JSON 格式是什么?

4

1 回答 1

0

通过 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

于 2017-03-01T13:04:59.760 回答