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

Hex Guides API

The Guides API from Hex — 4 operation(s) for guides.

Hex Guides API is one of 9 APIs that Hex publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Guides. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

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

Requests are made against a single base URL, https://app.hex.tech/api.

4 operations 4 paths 18 schemas 1 DELETE1 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://app.hex.tech/api/v1
Authentication
HTTP Bearer
License
UNLICENSED
Resource Areas
1

Authentication & Security 1

Hex Guides API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 4

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

Guides 4
GET
/v1/guides/draft/list
ListDraftGuides 4 params → 200400403500
PUT
/v1/guides/draft
Update or create guide drafts by filePath. Accepts a dictionary mapping file paths to their contents. For each file: - If the guide doesn't exist, it will be created. - If the guide exists but has no…
UpsertGuideDraft body → 200400403500
POST
/v1/guides/publish
Publish all currently drafted guides.
PublishGuideDrafts body → 200400403500
DELETE
/v1/guides/draft/{orgGuideFileId}
DeleteGuideDraft 1 param → 204400403500

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are GithubExternalSourceLocatorInput (4 properties), TsoaErrorResponsePayload (3 properties), PublishGuidesResponsePayload (3 properties), ListDraftGuidesResponse (3 properties). Each schema is shown below with its type and property counts.

UnknownExternalSourceLocatorInput
object
2 properties 1 required
TraceId
string
A unique identifier for this API request. The Hex Support team may request this value when debugging an issue.
UnknownExternalSourceInput
GithubExternalSourceLocatorWithMetadataInput
GuideFileApiResource
object
2 properties 2 required
OrgGuideFileId
string
Unique ID for a guide file. This can be found by going into the menu of a guide file in the guide files side bar.
TsoaErrorResponsePayload
object
3 properties 1 required
ExternalSourceInput
A unique identifier for a file that is sourced from an external source. This is used to track the where the guide file was authored from and where we expect up…
PageSize
integer
Number of results to fetch per page for paginated requests
ListDraftGuidesResponse
object
3 properties 3 required
GithubExternalSourceInput
PublishGuidesResponsePayload
object
3 properties 3 required
ApiPaginationCursor
string
A cursor string used with before and after parameters to paginate through a list of items on the API.
PaginationApiResource
object
2 properties 2 required
PublishGuidesRequestBody
object
2 properties
GithubExternalSourceLocatorInput
object
4 properties 3 required
UpsertGuideDraftResponsePayload
object
3 properties 3 required
UpsertGuideDraftRequestBody
object
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hexa-guides-api-openapi.yml Raw ↑

Other APIs Hex publishes across the network.

Hex Cells API
Hex Collections API
Hex Data Connections API
Hex Embedding API
Hex Groups API
Hex Projects API
Hex Semantic (projects|models) API
Hex Users API