objects
PUT
https://hermeticor.com /v1/object-types/{id}/relationships Parameters
idstringpathrequiredRequest body
application/json
targetstringrequirednamestringrequiredcardinalitystring{
"target": "profile",
"name": "string",
"cardinality": "many_to_many"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/object-types/{id}/relationships" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target":"profile","name":"string","cardinality":"many_to_many"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"typeId": "string",
"target": "string",
"name": "string",
"cardinality": "one_to_one"
}Schema
idstringrequiredtypeIdstringrequiredtargetstringrequirednamestringrequiredcardinalitystringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/object-types/{id}/relationships/{target} Parameters
idstringpathrequiredtargetstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/object-types/{id}/relationships/{target}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/object-types/{id}/ingestion-logs Parameters
limitintegerquerycursorstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/object-types/{id}/ingestion-logs" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"op": "upsert",
"total": 0,
"created": 0,
"updated": 0,
"deleted": 0,
"failed": 0,
"errors": [
{
"index": 0,
"externalId": "string",
"reason": "string"
}
],
"at": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredopstringrequiredtotalintegerrequiredcreatedintegerrequiredupdatedintegerrequireddeletedintegerrequiredfailedintegerrequirederrorsErrorsItem4[]requiredShow child parameters
indexintegerrequiredexternalIdstringrequiredreasonstringrequiredatstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/objects/{type}/bulk Upsert up to 500 records by externalId; bad records are reported, the rest land
Parameters
typestringpathrequiredRequest body
application/json
recordsobject[]requiredShow child parameters
externalIdstringrequirednamestringrequiredattributesobject{
"records": [
{
"externalId": "string",
"name": "string",
"attributes": {}
}
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/objects/{type}/bulk" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"records":[{"externalId":"string","name":"string","attributes":{}}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"created": 0,
"updated": 0,
"deleted": 0,
"failed": [
{
"index": 0,
"externalId": "string",
"reason": "string"
}
]
}Schema
createdintegerrequiredupdatedintegerrequireddeletedintegerrequiredfailedErrorsItem4[]requiredShow child parameters
indexintegerrequiredexternalIdstringrequiredreasonstringrequiredPOST
https://hermeticor.com /v1/objects/{type}/bulk-delete Parameters
typestringpathrequiredRequest body
application/json
externalIdsstring[]required{
"externalIds": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/objects/{type}/bulk-delete" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"externalIds":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/objects/{type}/query Parameters
typestringpathrequiredRequest body
application/json
searchstringfilterConditionsItem[]Show child parameters
propertystringrequiredopstringvaluestring | number | boolean | string | number[]limitintegercursorstring{
"search": "string",
"filter": [],
"limit": 50,
"cursor": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/objects/{type}/query" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search":"string","filter":[],"limit":50,"cursor":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"typeId": "string",
"externalId": "string",
"name": "string",
"attributes": {},
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem72[]requiredShow child parameters
idstringrequiredtypeIdstringrequiredexternalIdstringrequirednamestringrequiredattributesobjectrequiredcreatedAtstringrequiredupdatedAtstringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/objects/{type}/{id}/relations Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pagetypestringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/objects/{type}/{id}/relations" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"direction": "out",
"kind": "string",
"type": "string",
"id": "string",
"name": "string"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
directionstringrequiredkindstringrequiredtypestringrequiredidstringrequirednamestringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/objects/{type}/{id}/relations Parameters
typestringpathrequiredidstringpathrequiredRequest body
application/json
toTypestringrequiredtoIdstringrequiredkindstring{
"toType": "string",
"toId": "string",
"kind": "related"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/objects/{type}/{id}/relations" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"toType":"string","toId":"string","kind":"related"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/objects/{type}/{id}/relations/{toId}/{kind} Parameters
typestringpathrequiredidstringpathrequiredtoIdstringpathrequiredkindstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/objects/{type}/{id}/relations/{toId}/{kind}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated