Skip to content

Add new API endpoints #5

Description

@dragonman225

It seems that Notion is using the new API endpoint /api/v3/syncRecordValues to get data instead of the old one /api/v3/getRecordValues.

The new API looks like below:

Request body

{
  recordVersionMap: {
    "<table_name>": {     // e.g. block
      "<id>": "<version>" // <version> = -1 means the latest
    }
  }
}

Response body

{
  recordMap: {
    "<table_name>": {
      "<id>": data
    }
  }
}

Does this change indicate that /api/v3/getRecordValues will be deprecated? We'll see.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions