Quickback Docs
Quickback for Hono API

Using the API

Overview of the API generated by Quickback. CRUD endpoints, filtering, batch operations, views, and custom actions.

When you run quickback compile, Quickback generates a complete REST API from your definitions. This section covers how to use the generated endpoints.

Base URL

All generated endpoints are served under /api/v1/:

https://your-api.com/api/v1/{resource}

The resource name is derived from the filename: jobs.ts/api/v1/jobs.

Endpoint Overview

For each resource with export default defineTable(...):

MethodEndpointDescription
GET/api/v1/{resource}List records (paginated)
GET/api/v1/{resource}/:idGet single record
POST/api/v1/{resource}Create record
PATCH/api/v1/{resource}/:idUpdate record
DELETE/api/v1/{resource}/:idDelete record
POST/api/v1/{resource}/batchBatch create
PATCH/api/v1/{resource}/batchBatch update
DELETE/api/v1/{resource}/batchBatch delete

Guides

On this page