Skip to main content
Version: 1.0.0

connhex-resources

Connhex Resources APIs are auto-generated from custom Connhex JSON schemas defined by the Connhex administrator. Each schema defines the attributes and the relationships of a given resource.

Here, as an example, we present a set of APIs automatically generated from the following Connhex JSON Schemas:

TypeOneResource

{
"$id": "https://connhex.com/type-one-resource.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"serial": {
"type": "string",
"title": "Serial"
},
"typeTwoResources": {
"type": "array",
"title": "TypeTwoResources",
"items": {
"type": "string",
"connhex": {
"id": "typeTwoResource"
}
}
},
"cretedAt": {
"type": "string",
"title": "Creation Date",
"format": "date-time"
}
}
}

TypeTwoResource

{
"$id": "https://connhex.com/type-two-resource.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"typeOneResource": {
"type": "array",
"title": "TypeOneResource",
"connhex": {
"id": "typeOneResource"
}
},
"cretedAt": {
"type": "string",
"title": "Creation Date",
"format": "date-time"
}
}
}

For further details on how Connhex Resources works please check here.

Authentication

Authorization Header: Authorization: Bearer <user_token>

Security Scheme Type:http
HTTP Authorization Scheme:bearer