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

Rancher Projects API

Rancher projects, which group namespaces within a cluster for tenancy and policy.

Rancher Projects API is one of 8 APIs that Rancher publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Projects. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, a JSON-LD context, and 6 JSON Schemas.

This API exposes 2 operations across 1 path, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against 2 base URLs: https://{rancher_host}/v3, https://{rancher_host}/k8s/clusters/{cluster_id}.

2 operations 1 paths 2 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://{rancher_host}/v3
Authentication
HTTP Bearer
License
Resource Areas
1

Authentication & Security 1

Rancher Projects API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (token-XXXXX:secret) (BearerAuth).

Paths & Operations 2

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

Projects 2

Rancher projects, which group namespaces within a cluster for tenancy and policy.

GET
/projects
List projects
listProjects → 200
POST
/projects
Create a project
createProject body → 201

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Project (4 properties), ProjectCollection (2 properties). Each schema is shown below with its type and property counts.

Project
object
4 properties
ProjectCollection
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rancher-projects-api-openapi.yml Raw ↑

Other APIs Rancher publishes across the network.

Rancher Apps API
Rancher Catalogs API
Rancher Clusters API
Rancher Nodes API
Rancher Roles API
Rancher Tokens API
Rancher Users API