【问题标题】:Add reminder to page or database page向页面或数据库页面添加提醒
【发布时间】:2021-09-06 11:05:51
【问题描述】:

我正在寻找一种方法来创建页面提醒作为提及或在数据库页面的日期属性中。 API还有可能吗?

在本例中,我想创建一个带有 Date 属性提醒的新 daabse 条目。

return await require("@pipedreamhq/platform").axios(this, {
  method: "POST",
    url: `https://api.notion.com/v1/pages/`,
    headers: {
      "Authorization": `Bearer API_KEY_HERE`,
      "Content-Type": "application/json",
      "Notion-Version": "2021-05-13"
    },
    data: {
      "parent": { "database_id": "DB_ID_HERE" },
      properties: {
        "Day": {
              "title": [
                {
                  "type": "text",
                  "text": {
                    "content": "Title"
                  }
                }
              ]
            },
        "Date" : { "date" : { "start": "DATE_HERE } },
      }
    }
})

【问题讨论】:

  • 您能否通过添加更多您尝试过的信息和代码块来使问题更加集中

标签: notion-api


【解决方案1】:

Notion API 目前不支持提醒(或通知)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-05-25
    • 2015-07-21
    • 1970-01-01
    • 1970-01-01
    • 2022-01-23
    • 1970-01-01
    • 2014-04-22
    • 2014-06-25
    相关资源
    最近更新 更多