objects
DELETE
https://hermeticor.com /v1/objects/{type}/{id}/links/{profileId} Parameters
typestringpathrequiredidstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/objects/{type}/{id}/links/{profileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/object-types/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/object-types/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"key": "string",
"name": "string",
"fields": {}
}Schema
idstringrequiredkeystringrequirednamestringrequiredfieldsobjectrequiredDELETE
https://hermeticor.com /v1/object-types/{id} Deletes the type with all its records, relations, versions and logs
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/object-types/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PATCH
https://hermeticor.com /v1/object-types/{id} Parameters
idstringpathrequiredRequest body
application/json
namestring{
"name": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/object-types/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/object-types/{id}/versions Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/object-types/{id}/versions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"version": 0,
"status": "draft",
"fields": {},
"publishedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem146[]requiredShow child parameters
idstringrequiredversionintegerrequiredstatusstringrequiredfieldsobjectrequiredpublishedAtstringrequiredcreatedAtstringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/object-types/{id}/draft Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/object-types/{id}/draft" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"draft": {
"id": "string",
"version": 0,
"status": "draft",
"fields": {},
"publishedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}
}Schema
draftobjectrequiredShow child parameters
idstringrequiredversionintegerrequiredstatusstringrequiredfieldsobjectrequiredpublishedAtstringrequiredcreatedAtstringrequiredPUT
https://hermeticor.com /v1/object-types/{id}/draft Parameters
idstringpathrequiredRequest body
application/json
fieldsobjectrequired{
"fields": {}
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/object-types/{id}/draft" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fields":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"version": 0,
"status": "draft",
"fields": {},
"publishedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredversionintegerrequiredstatusstringrequiredfieldsobjectrequiredpublishedAtstringrequiredcreatedAtstringrequiredDELETE
https://hermeticor.com /v1/object-types/{id}/draft Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/object-types/{id}/draft" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/object-types/{id}/draft/publish Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/object-types/{id}/draft/publish" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/object-types/{id}/relationships Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/object-types/{id}/relationships" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"typeId": "string",
"target": "string",
"name": "string",
"cardinality": "one_to_one"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem147[]requiredShow child parameters
idstringrequiredtypeIdstringrequiredtargetstringrequirednamestringrequiredcardinalitystringrequirednextCursorstringrequiredUpdated