Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Jenkins Server API

Information about the Jenkins instance.

Jenkins Server API is one of 4 APIs that Jenkins publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://{jenkinsHost}.

2 operations 2 paths 1 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Server
https://{jenkinsHost}
Authentication
HTTP Basic
License
Resource Areas
1

Authentication & Security 1

Jenkins Server API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • basicAuth — HTTP Basic auth using a Jenkins user and an API token.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Server 2

Information about the Jenkins instance.

GET
/api/json
Get top-level Jenkins information (JSON)
getJenkinsInfo 2 params → 200
GET
/api/xml
Get top-level Jenkins information (XML)
getJenkinsInfoXml 2 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. Each schema is shown below with its type and property counts.

Resource
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jenkins-server-api-openapi.yml Raw ↑

Other APIs Jenkins publishes across the network.

Jenkins Computer API
Jenkins Jobs API
Jenkins Queue API