publish

Run the next stage's checks (stage1 → stage2 → stage3)

Wave 8 staged-pipeline endpoint. The marketplace runs the appropriate scanner for the submission's current stage, records every check as a SubmissionCheck row, and advances submission.stage. Idempotent on terminal rows.

Requires submissions.staged capability + submissions.write scope.

post/v1/submissions/{id}/advance

Path parameters

idstring required

Response

Submission with updated stage + new check rows

idstring required

Submission UUID (string form)

kind'agent' | 'skill' | 'mcp_server' | 'base' | 'app' | 'theme' | 'workflow_template' required
slugstring required
versionstring nullable
state'stage0_received' | 'stage1_static' | 'stage2_dynamic' | 'stage3_review' | 'approved' | 'rejected' | 'withdrawn' required

Wire-stable state string mirrored from the row

stage'stage0' | 'stage1' | 'stage2' | 'stage3' | 'approved' | 'rejected' | 'withdrawn' required

Current stage; terminal stages mirror the decision

decision'approved' | 'rejected' | 'withdrawn' nullable
decision_reasonstring nullable
submitter_handlestring nullable
bundle_sha256string nullable
bundle_size_bytesinteger nullable
item_idstring nullable
item_version_idstring nullable
created_atstring date-time required
updated_atstring date-time required