Version: 1.0.0
connhex-resources
Connhex Resource API are generated from the JSON schemas defined by the service user.
Here, we present an example of API set autogenerated from the following Connhex JSON Schemas:
Truck
{
"$id": "https://connhex.com/truck.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"serial": {
"type": "string",
"title": "Serial"
},
"tags": {
"type": "array",
"title": "Tags",
"items": {
"type": "string",
"connhex": {
"id": "tag"
}
}
},
"created_at": {
"type": "string",
"title": "Creation Date",
"format": "date-time"
}
}
}
Tag
{
"$id": "https://connhex.com/tag.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"truck": {
"type": "array",
"title": "Truck",
"connhex": {
"id": "truck"
}
},
"created_at": {
"type": "string",
"title": "Creation Date",
"format": "date-time"
}
}
}
For further details on how Connhex Resources works please check here.
Authentication
- HTTP: Bearer Auth
Authorization Header: Authorization: Bearer <user_token>
Security Scheme Type: | http |
---|---|
HTTP Authorization Scheme: | bearer |