Initialize an empty repository with a project's stored source
Changed onCreates the first commit in the connected repository and pushes it directly to the configured production branch. The push enters the ordinary Git auto-deploy flow. Direct source writes remain frozen until that deployment succeeds and the repository becomes the source of truth.
The caller confirms the production branch shown before export. Starting export pins that branch: later GitHub default-branch changes do not repoint the project. If the configured branch changed after the caller read it, the request fails without exporting so the caller can show and confirm the new value.
The response lists what the export could not carry: resources with no successful deployment to take source from (skipped), and things no export can hand back (omitted) — migrations, which Volcano stores no copy of, and credential-shaped files, which are left for their owner to add.
Requires a connected repository with no commits or branches, and runs once. Volcano never creates the repository. If GitHub did not confirm the push, retrying creates the same commit and adopts it when it already reached the repository.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Request body
The currently configured production branch the user confirmed for export.
Response
The initial production-branch commit that was pushed
The initial production-branch commit, and everything export could not carry.
The production branch that was created.
Resources whose source could not be taken, with the reason. Most often a resource that has never deployed successfully.
Things deliberately left out of the branch.
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API
- info
- breaking
added the new path request parameter
id - breaking
the response's body type changed from no type to
objectfor status
29 more changes in this revision
- breaking