Humanitec MatchingCriteria API
Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type.Matching criteria are made up in order of specificity with least specific first:- Environment Type (`env_type`)- Application (`app_id`)- Environment (`env_id`)- Resource (`res_id`)When selecting matching criteria, the most specific one is selected. In general, this means of all the Matching Criteria fully matching the context, the Matching Criteria Rule with the most specific element filled is chosen. If there is a tie, the next most specific elements are compared and so on until one is chosen.**NOTE:**Humanitec will reject the registration of matching criteria rules that duplicate rules already present for a Resource Type.
Humanitec MatchingCriteria API is one of 45 APIs that Humanitec publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include MatchingCriteria. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and authentication docs.
This API exposes 3 operations across 2 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/.
Metadata
The identity and technical contract details declared by the specification.
Paths & Operations 3
Across 2 paths, the API surfaces 3 operations — 1 DELETE, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type. Matching criteria are made up in order of specificity…
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are MatchingCriteriaResponse (6 properties), MatchingCriteriaRuleRequest (5 properties), ResourceDefinitionChangeResponse (5 properties), HumanitecErrorResponse (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Humanitec 12
Other APIs Humanitec publishes across the network.