URL | /import/<project-key> |
---|---|
Method | POST |
Permissions | Auth: true |
Scopes | Project |
Code | postImportAsCodeHandler |
This the entrypoint to perform workflow as code. The first step is to post an operation leading to checkout application and scrapping files
{"vcs_Server":"github", "url":"https://github.com/fsamin/go-repo.git","strategy":{"connection_type":"https","ssh_key":"","user":"","password":"","branch":"","default_branch":"master","pgp_key":""},"setup":{"checkout":{"branch":"master"}}}
{"uuid":"ee3946ac-3a77-46b1-af78-77868fde75ec","url":"https://github.com/fsamin/go-repo.git","strategy":{"connection_type":"https","ssh_key":"","user":"","password":"","branch":"","default_branch":"master","pgp_key":""},"setup":{"checkout":{"branch":"master"}}}
URL | /import/<project-key>/<uuid>/perform |
---|---|
Method | POST |
Permissions | Auth: true |
Scopes | Project |
Code | postPerformImportAsCodeHandler |
This operation push the workflow as code into the project
None
translated message list