3 ms·
Who makes a database API with no way to change records in the database?
by spullara 5y ago
Who makes a database API with no way to change records in the database?
- jitl 5y agoYou can update the properties of a page in a database using a PATCH request to v1/pages, details here: https://developers.notion.com/reference/patch-page https://developers.notion.com/reference/patch-page (I work at Notion, but not on the API team)
- spullara 5y agoYeah, I found that later. Still seems odd there isn't a direct API for it.
- Spivak 5y agoIs this not the direct API? Databases are just a bag of pages that have the same properties. I would kinda expect that updating a record would just be a page operation.
- spullara 5y agoThere is a direct API for listing databases for instance. That isn't done through the pages stuff. Just a nit I guess but using the page patch API for databases updates is just weird to me.