Buildkite integration (Developer Tools). Imported from open-connector.
https://api.buildkite.com/v2/access-token
/user
/organizations
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The page of results to return. |
| per_page | integer | optional | How many results to return per page. |
/organizations/{org_slug}
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
/organizations/{org_slug}/pipelines
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| page | integer | optional | The page of results to return. |
| per_page | integer | optional | How many results to return per page. |
| name | string | optional | Only return pipelines whose name contains this case-insensitive value. |
| repository | string | optional | Only return pipelines whose repository URL contains this case-insensitive value. |
/organizations/{org_slug}/pipelines/{pipeline_slug}
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| pipeline_slug | string | required | The Buildkite pipeline slug. |
/organizations/{org_slug}/builds
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| page | integer | optional | The page of results to return. |
| per_page | integer | optional | How many results to return per page. |
| branch | string | optional | Only return builds for this branch. |
| commit | string | optional | Only return builds for this full commit SHA. |
| created_from | string | optional | Only return builds created on or after this ISO 8601 timestamp. |
| created_to | string | optional | Only return builds created before this ISO 8601 timestamp. |
| finished_from | string | optional | Only return builds finished on or after this ISO 8601 timestamp. |
| state | string | optional | Only return builds in this Buildkite state. |
| include_retried_jobs | boolean | optional | Whether retried job executions should be included in each build. |
/organizations/{org_slug}/pipelines/{pipeline_slug}/builds
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| pipeline_slug | string | required | The Buildkite pipeline slug. |
| page | integer | optional | The page of results to return. |
| per_page | integer | optional | How many results to return per page. |
| branch | string | optional | Only return builds for this branch. |
| commit | string | optional | Only return builds for this full commit SHA. |
| created_from | string | optional | Only return builds created on or after this ISO 8601 timestamp. |
| created_to | string | optional | Only return builds created before this ISO 8601 timestamp. |
| finished_from | string | optional | Only return builds finished on or after this ISO 8601 timestamp. |
| state | string | optional | Only return builds in this Buildkite state. |
| include_retried_jobs | boolean | optional | Whether retried job executions should be included in each build. |
/organizations/{org_slug}/pipelines/{pipeline_slug}/builds/{number}
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| pipeline_slug | string | required | The Buildkite pipeline slug. |
| number | integer | required | The pipeline-local Buildkite build number. |
| include_retried_jobs | boolean | optional | Whether retried job executions should be included in each build. |
| include_test_engine | boolean | optional | Whether Buildkite Test Engine data should be included in the build response. |
/organizations/{org_slug}/pipelines/{pipeline_slug}/builds
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| pipeline_slug | string | required | The Buildkite pipeline slug. |
| commit | string | required | The ref, SHA, or tag to build. |
| branch | string | required | The branch the build commit belongs to. |
| message | string | optional | Custom message for the build, when provided. |
| author | object | optional | Build author metadata. |
| env | object | optional | A JSON object whose values are strings. |
| meta_data | object | optional | Metadata values to attach to the build. |
| clean_checkout | boolean | optional | Whether the agent should perform a fresh checkout. |
| ignore_pipeline_branch_filters | boolean | optional | Whether the build should ignore pipeline-level branch filters. |
| pull_request_id | integer | optional | Pull request number for a pull request build. |
| pull_request_base_branch | string | optional | Base branch for a pull request build. |
| pull_request_repository | string | optional | Repository URL of the pull request build source. |
| pull_request_labels | array | optional | A non-empty list of strings. |
/organizations/{org_slug}/pipelines/{pipeline_slug}/builds/{number}/cancel
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| pipeline_slug | string | required | The Buildkite pipeline slug. |
| number | integer | required | The pipeline-local Buildkite build number. |
/organizations/{org_slug}/pipelines/{pipeline_slug}/builds/{number}/rebuild
| Param | Type | Required | Description |
|---|---|---|---|
| org_slug | string | required | The Buildkite organization slug. |
| pipeline_slug | string | required | The Buildkite pipeline slug. |
| number | integer | required | The pipeline-local Buildkite build number. |