Jason Lee

Jason Lee

Software developer passionate about performance and UX.

Posts by Jason Lee

GitHub Actions deploy

Automatically publish markdown files to Sitepaste whenever you push to your repository. The deploy action syncs a directory of markdown files and …

Obsidian plugin

Publish markdown files to Sitepaste directly from Obsidian. The plugin handles single files and entire folders, with a confirmation step before …

Authentication

The API uses bearer token authentication. Tokens are scoped to your workspace and grant access to all sites within it. Creating a token Log in to your …

Pages

The pages API lets you create, update, list, and delete pages. The POST /pages endpoint is the primary entry point. It accepts one or many pages, …

Media

There are two ways to upload media through the API: inline with a page request, or as a standalone upload. Inline media When creating pages with POST …

Builds

After creating or updating pages, trigger a build to publish your changes. You can trigger a build as part of a POST /pages request using …

Examples and use cases

Practical examples for common API workflows. Publish a single page The simplest case. Create a page and build in one request: curl -X POST …