| name | reqon |
| description | Use when writing or editing .vague files for Reqon declarative API data pipelines |
Reqon
Declarative DSL for fetch, map, validate pipelines. File extension: .vague
Quick Start
mission SyncData {
source API { auth: bearer, base: "https://api.example.com" }
store items: memory("items")
action Fetch {
get "/items" { paginate: page(page, 100), until: length(response) == 0 }
store response -> items { key: .id }
}
run Fetch
}
Core Constructs
mission- Pipeline container (sources, stores, schemas, actions, schedule)source- API: auth (bearer/basic/api_key/oauth2/none), base, headers, rateLimitsource Name from "./spec.yaml"- OAS-based sourcestore- Storage:memory("name"),file("path"),sql("table"),postgrest("table")action- Pipeline step: fetch, map, validate, store, waitrun [A, B] then C- Parallel then sequential executionmatch response { Schema -> ..., _ -> skip }- Pattern matchingfor item in store where .active { ... }- Iteration with filtercall Source.operationId- OAS-based fetch by operationIdwait { timeout, path, eventFilter, storage }- Webhook/callback waitingschedule: every N hoursorschedule: cron "..."orschedule: at "datetime"
Flow Control
continue, skip, abort "msg", retry {...}, queue dlq, jump Action then retry
Reference Files
- references/syntax.md - Full DSL syntax
- references/examples.md - Complete examples