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

Humanitec ResourceClass API

The ResourceClass API from Humanitec — 3 operation(s) for resourceclass.

Humanitec ResourceClass API is one of 45 APIs that Humanitec publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include ResourceClass. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and authentication docs.

This API exposes 5 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.0.0, at version 0.28.24.

Requests are made against a single base URL, https://api.humanitec.io/.

5 operations 3 paths 4 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
0.28.24
Base URL
https://api.humanitec.io
Resource Areas
1

Paths & Operations 5

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

ResourceClass 5
GET
/orgs/{orgId}/resources/classes
List resource classes.
listResourceClasses 1 param → 200
POST
/orgs/{orgId}/resources/types/{typeId}/classes
Creates a new resources class.
createResourceClass 2 params body → 200400409
GET
/orgs/{orgId}/resources/types/{typeId}/classes/{classId}
Get resource class by ID.
getResourceClass 3 params → 200404
PATCH
/orgs/{orgId}/resources/types/{typeId}/classes/{classId}
Update a resource class description.
updateResourceClass 3 params body → 200404
DELETE
/orgs/{orgId}/resources/types/{typeId}/classes/{classId}
Delete a resource class.
deleteResourceClass 3 params → 204404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ResourceClassResponse (5 properties), HumanitecErrorResponse (3 properties), ResourceClassRequest (2 properties), UpdateResourceClassRequest (1 property). Each schema is shown below with its type and property counts.

ResourceClassRequest
object
Resource Classes provide a way of specializing Resource Types. Developers can set the class of a Resource alongside the type in their Score File. Platform team…
2 properties 2 required
HumanitecErrorResponse
object
HumanitecError represents a standard Humanitec Error
3 properties 2 required
UpdateResourceClassRequest
object
UpdateResourceClassRequest describes the update class description request.
1 property 1 required
ResourceClassResponse
object
Resource Classes provide a way of specializing Resource Types. Developers can set the class of a Resource alongside the type in their Score File. Platform team…
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

humanitec-resourceclass-api-openapi.yml Raw ↑

Other APIs Humanitec publishes across the network.

Humanitec AccountType API
Humanitec ActiveResource API
Humanitec Agents API
Humanitec Application API
Humanitec Artefact API
Humanitec ArtefactVersion API
Humanitec AuditLogs API
Humanitec AutomationRule API
Humanitec Delta API
Humanitec Deployment API
Humanitec DriverDefinition API
Humanitec Environment API