api-preview-docs
api-preview-docs copied to clipboard
In-progress docs about the pre-release preview of CircleCI API v2
Is it possible to pass environment variables in JSON body of API v2 call? Even with pipelines parameters, I want to use environment variables, so I tried to make api...
I'm trying to trigger a build on specified branch using such v2 API call: `curl -u ${CIRCLECI_TOKEN}: -X POST "Content-Type: application/json" -d '{"branch": "some-branch"}' https://circleci.com/api/v2/project/${project_slug}/pipeline` **EXPECTED RESULT:** I expect the...
In the example for conditional workflow there is a job that is conditionally added to the workflow based on parameter ``` workflows: version: 2 integration_tests: when: > jobs: - mytestjob...
Hello, I was working on your artifact API using PowerShell and hit some issues due to the API returning EDF type data and not JSON. The API documentation says nothing...
With current features we can use parameters to have [conditional workflows](https://github.com/CircleCI-Public/api-preview-docs/blob/master/docs/conditional-workflows.md) and [conditional steps](https://circleci.com/docs/2.0/configuration-reference/#the-when-step-requires-version-21) The latter (steps) gets a little ugly with the amount of nesting, but in the use...
I'd like to know the state of the most recent workflow for each of my projects. The only way I can figure out how to do this right now is:...
Hello, we are attempting to us [conditional workflows](https://github.com/CircleCI-Public/api-preview-docs/blob/master/docs/conditional-workflows.md) and [pipeline parameters](https://github.com/CircleCI-Public/api-preview-docs/blob/master/docs/pipeline-parameters.md) so that we can easily deploy our website. So we have two workflows: 1) a full build and 2)...