notion-api-worker icon indicating copy to clipboard operation
notion-api-worker copied to clipboard

Notion as CMS with easy API access

Results 39 notion-api-worker issues
Sort by recently updated
recently updated
newest added

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...

dependencies

Hi there, I thought it would be pretty useful to have an endpoint to get signed file URLs for things like PDFs uploaded to Notion. Here's an example request: https://notion-cloudflare-worker.yawnxyz.workers.dev/v1/asset?url=https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7b07bcc5-c445-4646-92e7-80778396bf0f/fmicb-11-00397_(1).pdf&blockId=6cc938f5-76fc-4069-8315-d776778afc71

I can't find a slug property in any page, but this code seems to suggest that there is, or at least at one point was: https://github.com/noahsalvi/sotion/blob/ab2615b8157dffcde9fb96f4d2127660b7398268/src/sotion.ts#L94-L97 In addition, the sotion...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

I've made a simple tutorial to self-host the API worker [here](https://dev.to/yehezkielgunawan/how-to-self-host-notion-api-worker-from-splitbee-1lm) and added it to the Readme file. Hope it can help those who want to self-host it. Thank you.

`cache.put(request, response)` uses the response's `cache-control` header to determine the object's TTL ([and other standard headers](https://developers.cloudflare.com/workers/reference/apis/cache/)). Currently, we're passing responses with no `cache-control` which isn't really well-specified by Cloudflare as...

bug

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

Hey, this could just be a user error, but I've tried both approaches and can't get private pages to return any BlockMap from the Splitbee Notion worker, or a personal...

Maybe I'm missing something, but it looks like you can access private pages just with the `user token`. Is it possible to also use the `workspace token`? So you won't...