Hex.pm Documentation API
HexDocs package documentation.
Hex.pm Documentation API is one of 12 APIs that Hex.pm publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Documentation. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.
This API exposes 3 operations across 1 path, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 1.0.0.
Requests are made against a single base URL, https://hex.pm/api.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 3
Hex.pm Documentation API declares
3 security schemes
for authenticating requests.
An API key is passed in the header as Authorization (ApiKeyAuth).
It accepts HTTP bearer tokens (BearerAuth).
It accepts HTTP basic authentication (BasicAuth).
By default, every request must be authenticated.
ApiKeyAuth— API token authentication. Pass the token directly: Authorization: token. For OAuth2 Bearer tokens use: Authorization: Bearer token.BearerAuth— OAuth2 Bearer token obtained via Device Authorization Grant (RFC 8628).BasicAuth— Deprecated. Basic authentication with username and password. Only allowed on specific endpoints for generating API tokens.
Paths & Operations 3
Across 1 path, the API surfaces 3 operations — 1 DELETE, 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
HexDocs package documentation.
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Error (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 Hex.pm 11
Other APIs Hex.pm publishes across the network.