MinMaxHub
Documentation
  • Introduction
  • Architecture
  • Frontend
Domains
  • Nodes
  • Entities
  • Consensus
  • Suggestions
Resources
  • API Reference

Copyright 2026 MinMaxHub

  • Documentation
  • Domains
  • API Reference
Information
Consensus
    Trigger consensus recomputation for an entitypostApprove or reject a suggestion via moderationpostList suggestions pending moderationgetGet consensus page data for SSR renderinggetResolve a full page by slug pathget
Entities
    Create a new entity under a nodepostGet an entity by its unique identifiergetUpdate an entity's title and statusputDelete an entitydeleteRefresh an entity's layout from its parent node templatespatchList entities belonging to a nodegetGet an entity by its full slug pathgetList all entity slug pathsget
Media
    Get a presigned URL for image uploadpost
Nodes
    Create a new node in the taxonomy treepostGet a node by its unique identifiergetArchive a nodepatchUpdate a node's layout templatesputList ancestor nodes for a slug pathgetList direct children of a nodegetList all descendants of a nodegetGet a node by its slug pathget
Rules
    List all rules in a foldergetGet a single rule by folder and component keygetUpdate an existing ruleputCreate a new rulepost
Suggestions
    Create a new content suggestionpostGet a suggestion by its unique identifiergetSoft-delete a suggestiondeleteUpdate a suggestion's value or statuspatchList suggestions by a specific authorgetList suggestions for a specific entitygetList suggestions by target (entity + topic + item)get
Users
    List all usersgetGet a user profile by IDgetGet a user profile by usernameget
Votes
    Cast or change a vote on a suggestionpostGet the authenticated user's votesget
Schemas
powered by Zudoku
MinMaxHub API
MinMaxHub API

Rules

Endpoint{apiBaseUrl}
Download schema

JSON Schema content validation rules stored in S3. Rules define the structure and constraints for suggestion values.


List all rules in a folder

GET
{apiBaseUrl}
/rules/{folder}

Returns a list of rule summaries for the specified folder. Each summary includes metadata like the component key, deprecation status, and creator info. Requires authentication.

List all rules in a folder › path Parameters

folder
​string · minLength: 1 · required

Rule folder name (e.g., "layout", "validation")

List all rules in a folder › Responses

Rules listed successfully

Standard response envelope wrapping all API responses. Every response includes a trace ID for debugging, a machine-readable status, and a human-readable message.
status
​string · enum · required

Machine-readable status code

Enum values:
OK
CREATED
ACCEPTED
NO_CONTENT
BAD_REQUEST
UNAUTHORIZED
FORBIDDEN
NOT_FOUND
message
​string · required

Human-readable status message

traceId
​string

Unique request trace ID for debugging and log correlation

​object[]
GET/rules/{folder}
curl --request GET \ --url %7BapiBaseUrl%7D/rules/:folder
shell
Example Responses
No example specified for this content type
application/json

Get a single rule by folder and component key

GET
{apiBaseUrl}
/rules/{folder}/{componentKey}

Retrieves the full rule definition including its JSON Schema body. Returns an ETag header for optimistic concurrency on subsequent updates. Requires authentication.

Get a single rule by folder and component key › path Parameters

folder
​string · minLength: 1 · required

Rule folder name

componentKey
​string · minLength: 1 · required

Component key identifying the rule within the folder

Get a single rule by folder and component key › Responses

Rule retrieved successfully

Standard response envelope wrapping all API responses. Every response includes a trace ID for debugging, a machine-readable status, and a human-readable message.
status
​string · enum · required

Machine-readable status code

Enum values:
OK
CREATED
ACCEPTED
NO_CONTENT
BAD_REQUEST
UNAUTHORIZED
FORBIDDEN
NOT_FOUND
message
​string · required

Human-readable status message

traceId
​string

Unique request trace ID for debugging and log correlation

​object

A full rule definition including its JSON Schema body and metadata. Returned by GET and create/update operations.

GET/rules/{folder}/{componentKey}
curl --request GET \ --url %7BapiBaseUrl%7D/rules/:folder/:componentKey
shell
Example Responses
No example specified for this content type
application/json

Update an existing rule

PUT
{apiBaseUrl}
/rules/{folder}/{componentKey}

Updates a rule's JSON Schema body. Supports optimistic concurrency via the If-Match header (ETag from a previous GET). Set overwrite=true to bypass the concurrency check. Requires authentication.

Update an existing rule › path Parameters

folder
​string · minLength: 1 · required

Rule folder name

componentKey
​string · minLength: 1 · required

Component key of the rule to update

Update an existing rule › query Parameters

overwrite
​boolean

Set to true to bypass ETag concurrency check

Default: false

Update an existing rule › Headers

If-Match
​string

ETag from a previous GET for optimistic concurrency

Update an existing rule › Request Body

Request body for creating or updating a rule. The schemaJson field must be a valid JSON string.
schemaJson
​string · required

Valid JSON string representing the rule's JSON Schema

Update an existing rule › Responses

Rule updated successfully

Standard response envelope wrapping all API responses. Every response includes a trace ID for debugging, a machine-readable status, and a human-readable message.
status
​string · enum · required

Machine-readable status code

Enum values:
OK
CREATED
ACCEPTED
NO_CONTENT
BAD_REQUEST
UNAUTHORIZED
FORBIDDEN
NOT_FOUND
message
​string · required

Human-readable status message

traceId
​string

Unique request trace ID for debugging and log correlation

​object

A full rule definition including its JSON Schema body and metadata. Returned by GET and create/update operations.

PUT/rules/{folder}/{componentKey}
curl --request PUT \ --url %7BapiBaseUrl%7D/rules/:folder/:componentKey \ --header 'Content-Type: application/json' \ --data ' { "schemaJson": "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"minLength\":1}}}" } '
shell
Example Request Body
{ "schemaJson": "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\",\"minLength\":1}}}" }
json
application/json
Example Responses
No example specified for this content type
application/json

Create a new rule

POST
{apiBaseUrl}
/rules/{folder}/{componentKey}

Creates a new rule under the specified folder and component key. The schemaJson field must be a valid JSON string representing the rule's JSON Schema. Set overwrite=true to replace an existing rule. Requires authentication.

Create a new rule › path Parameters

folder
​string · minLength: 1 · required

Rule folder name

componentKey
​string · minLength: 1 · required

Component key for the new rule

Create a new rule › query Parameters

overwrite
​boolean

Set to true to overwrite an existing rule

Default: false

Create a new rule › Request Body

Request body for creating or updating a rule. The schemaJson field must be a valid JSON string.
schemaJson
​string · required

Valid JSON string representing the rule's JSON Schema

Create a new rule › Responses

Rule created successfully

Standard response envelope wrapping all API responses. Every response includes a trace ID for debugging, a machine-readable status, and a human-readable message.
status
​string · enum · required

Machine-readable status code

Enum values:
OK
CREATED
ACCEPTED
NO_CONTENT
BAD_REQUEST
UNAUTHORIZED
FORBIDDEN
NOT_FOUND
message
​string · required

Human-readable status message

traceId
​string

Unique request trace ID for debugging and log correlation

​object

A full rule definition including its JSON Schema body and metadata. Returned by GET and create/update operations.

POST/rules/{folder}/{componentKey}
curl --request POST \ --url %7BapiBaseUrl%7D/rules/:folder/:componentKey \ --header 'Content-Type: application/json' \ --data ' { "schemaJson": "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}}}" } '
shell
Example Request Body
{ "schemaJson": "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"type\":\"object\",\"properties\":{\"text\":{\"type\":\"string\"}}}" }
json
application/json
Example Responses
No example specified for this content type
application/json

NodesSuggestions