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 Value API

Shared Values can be used to manage variables and configuration that might vary between environments. They are also the way that secrets can be stored securely.Shared Values are by default shared across all environments in an application. However, they can be overridden on an Environment by Environment basis.For example: There might be 2 API keys that are used in an application. One development key used in the development and staging environments and another used for production. The development API key would be set at the Application level. The value would then be overridden at the Environment level for the production Environment.

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

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

This API exposes 12 operations across 4 paths, and defines 7 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/.

12 operations 4 paths 7 schemas 4 DELETE2 GET2 PATCH2 POST2 PUT

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 12

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

Value 12

Shared Values can be used to manage variables and configuration that might vary between environments. They are also the way that secrets can be stored securely. Shared Values are…

GET
/orgs/{orgId}/apps/{appId}/envs/{envId}/values
List Shared Values in an Environment
3 params → 200400
POST
/orgs/{orgId}/apps/{appId}/envs/{envId}/values
Create a Shared Value for an Environment
3 params body → 201400409
DELETE
/orgs/{orgId}/apps/{appId}/envs/{envId}/values
Delete all Shared Value for an Environment
3 params → 204
PUT
/orgs/{orgId}/apps/{appId}/envs/{envId}/values/{key}
Update Shared Value for an Environment
4 params body → 200400404
DELETE
/orgs/{orgId}/apps/{appId}/envs/{envId}/values/{key}
Delete Shared Value for an Environment
4 params → 204400404
PATCH
/orgs/{orgId}/apps/{appId}/envs/{envId}/values/{key}
Update Shared Value for an Environment
4 params body → 200400404
GET
/orgs/{orgId}/apps/{appId}/values
List Shared Values in an Application
2 params → 200
POST
/orgs/{orgId}/apps/{appId}/values
Create a Shared Value for an Application
2 params body → 201400409
DELETE
/orgs/{orgId}/apps/{appId}/values
Delete all Shared Value for an App
2 params → 204
PUT
/orgs/{orgId}/apps/{appId}/values/{key}
Update Shared Value for an Application
3 params body → 200400404
DELETE
/orgs/{orgId}/apps/{appId}/values/{key}
Delete Shared Value for an Application
3 params → 204400404
PATCH
/orgs/{orgId}/apps/{appId}/values/{key}
Update Shared Value for an Application
3 params body → 200400404

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are ValueResponse (10 properties), ValueEditPayloadRequest (5 properties), ValueCreatePayloadRequest (5 properties), SecretReference (4 properties). Each schema is shown below with its type and property counts.

ValueCreatePayloadRequest
object
5 properties 2 required
ValueEditPayloadRequest
object
5 properties 1 required
HumanitecErrorResponse
object
HumanitecError represents a standard Humanitec Error
3 properties 2 required
ValueSource
string
Source of the value, "app" for app level, "env" for app env level.
SecretReference
object
It stores sensitive value in the organization primary store or a reference to a sensitive value stored in a store registered under the organization.
4 properties
ValuePatchPayloadRequest
object
3 properties
ValueResponse
object
Shared Values can be used to manage variables and configuration that might vary between environments. They are also the way that secrets can be stored securely…
10 properties 10 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

humanitec-value-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