Submit Build Diff
Store an already-computed diff for one file of a build bundle against a base commit (protocol v0.2 item 6, POST /coord/builds/:build_ref/diff — the parser has no GET for this path; a deployed function ships no git object database, so tascan-agent/deployer.js computes the diff text with its own persistent worktree and this route only validates + stores it via coord_set_artifact_diff). build_sha256 must equal the artifact's own stored sha256 or the call is refused; storing a diff replaces that file's stored full content with the diff going forward. There is currently no REST route that reads a stored diff back (GET /builds/:build_ref and /builds/:build_ref/file do not surface it) — this tool only writes one. Requires agent:dispatch.
Request
- Base URL: https://app.tascan.io/api/v1
- URL: https://app.tascan.io/api/v1/coord/builds/{ref}/diff
- Auth: HTTP bearer
Path parameters
Request body
Response
Success. JSON body: { data: ... } or an error object { error, message }.
Changes
No recorded changes to this operation across all 1 revision of this API.