v1

latestOpenAPI 3.1.02026-07-26269227514.8 KB
snapshot_setup

Create an org- or repo-tier blueprint

Create a blueprint. type is inferred from repo_name.

Per spec, this never auto-triggers a build — callers must POST /builds explicitly.

post/v3beta1/organizations/{org_id}/snapshot-setup/blueprints

Path parameters

org_idstring required
Example:org-abc123def456

Organization ID (prefix: org-)

Request body

contentsstring nullable

Optional initial YAML body for the blueprint.

repo_namestring nullable

If set, creates a repo-tier blueprint for that repository. If omitted, creates an org-wide (org-tier) blueprint.

Response

Successful Response

blueprint_idstring required
created_atinteger required
repo_namestring nullable required
type'enterprise' | 'org' | 'repo' required
updated_atinteger required