Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceCommands for records, findings and review

ToolsCommandsCommands for records, findings and review

jadpo api

On this page

Rewrite the API records.

update rewrites each API's committed record, api/.jadpo_record, from the routes (areas 7 and 18): every route, the fields it takes and sends, and the failure codes it can answer with. The OpenAPI document's version is a hash of the record. jadpo check fails while a record disagrees with the routes, so every change to an API is a diff of one file to review and commit with the code. A record under its old name, api/.api, is removed.

usage
jadpo api <action>

Arguments

  • action: What to do: update

On every command

  • --json: Print data for tools instead of text
  • --full: Show everything a report shortens
  • --help: Show every flag, with examples
  • --color <when>: Choose when to use colour

jadpo api --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("api"), ok, data (what the command produced, null when it failed) and diagnostics (each error with its rule, reason, next and help). A command that needs a terminal refuses --json and names the flags that do the same job.

Examples

shell
# Bring every API record up to date with the routesjadpo api update

Errors

  • cli.api_arguments: A jadpo api command names no action, one it doesn't have, or more than update
  • toolchain.artifact_write_failed: A file Jadpo writes for you, such as a record, couldn't be written, usually because it or its folder is read-only
  • toolchain.project_not_found: You ran a command that works on a project in a folder with no app.jadpo, in it or in any folder above it

Markdown for agents: /docs/jadpo-api.md.Built from Jadpo main at aee2e8f.