How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Drone Builds API

Build creation, management, and log access.

Drone Builds API is one of 16 APIs that Drone publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Builds. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 14 operations across 9 paths, and defines 6 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://your-drone-server.

14 operations 9 paths 6 schemas 3 DELETE5 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://your-drone-server/api
Authentication
HTTP Bearer
License
Resource Areas
1

Authentication & Security 1

Drone Builds API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — Bearer token retrieved from the Drone user interface profile page.

Paths & Operations 14

Across 9 paths, the API surfaces 14 operations — 3 DELETE, 5 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Builds 14

Build creation, management, and log access.

GET
/api/repos/{namespace}/{name}/builds
List builds
listBuilds 5 params → 200401
POST
/api/repos/{namespace}/{name}/builds
Create a build
createBuild 4 params → 200401
DELETE
/api/repos/{namespace}/{name}/builds
Purge build history
purgeBuildHistory 3 params → 204401
GET
/api/repos/{namespace}/{name}/builds/{build}
Get a build
getBuild 4 params → 200401404
POST
/api/repos/{namespace}/{name}/builds/{build}
Restart a build
restartBuild 3 params → 200401
DELETE
/api/repos/{namespace}/{name}/builds/{build}
Cancel a build
cancelBuild 3 params → 204401
POST
/api/repos/{namespace}/{name}/builds/{build}/approve/{stage}
Approve a build stage
approveBuild 4 params → 204401
POST
/api/repos/{namespace}/{name}/builds/{build}/decline/{stage}
Decline a build stage
declineBuild 4 params → 204401
POST
/api/repos/{namespace}/{name}/builds/{build}/promote
Promote a build
promoteBuild 4 params → 200401
POST
/api/repos/{namespace}/{name}/builds/{build}/rollback
Rollback a build
rollbackBuild 4 params → 200401
GET
/api/repos/{namespace}/{name}/builds/{build}/logs/{stage}/{step}
Get build step logs
getBuildLogs 5 params → 200401
DELETE
/api/repos/{namespace}/{name}/builds/{build}/logs/{stage}/{step}
Purge build step logs
purgeBuildLogs 5 params → 204401
GET
/api/builds/incomplete
List incomplete builds
listIncompleteBuilds → 200401
GET
/api/builds/incomplete/v2
List incomplete builds (v2)
listIncompleteBuildsV2 → 200401

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Build (35 properties), Repo (29 properties), Stage (27 properties), Step (15 properties). Each schema is shown below with its type and property counts.

Build
object
Represents a Drone build execution.
35 properties
Line
object
Represents a single line of container/step log output.
3 properties
Repo
object
Represents a repository registered with Drone.
29 properties
Stage
object
Represents a stage of build execution.
27 properties
Step
object
Represents an individual step within a stage.
15 properties
Error
object
API error response.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

drone-builds-api-openapi.yml Raw ↑

Other APIs Drone publishes across the network.

Drone Cron API
Drone Nodes API
Drone Queue API
Drone Repos API
Drone Secrets API
Drone System API
Drone Templates API
Drone User API
Drone Users API
Drone Server REST API
Drone Builds API
Drone Cron API
Where this information came from

This is an independent, third-party profile of Drone Builds API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.