objects
POST
https://hermeticor.com /v1/imports/url One-off import of a CSV at an https URL: events, object records or relationships (poll GET /v1/jobs)
Request body
application/json
kindstringrequiredurlstringrequiredobjectTypestring{
"kind": "events",
"url": "string",
"objectType": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/imports/url" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"events","url":"string","objectType":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"id": "string",
"kind": "bulk",
"op": "string",
"status": "queued",
"progress": {
"total": 0,
"processed": 0,
"failed": 0
},
"error": "string",
"downloadUrl": "string",
"failures": [
{
"profileId": "string",
"message": "string"
}
],
"createdAt": "2024-01-01T00:00:00Z",
"finishedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkindstringrequiredopstringrequiredstatusstringrequiredprogressobjectrequiredShow child parameters
totalintegerrequiredprocessedintegerrequiredfailedintegerrequirederrorstringrequireddownloadUrlstringfailuresFailuresItem[]Show child parameters
profileIdstringrequiredmessagestringrequiredcreatedAtstringrequiredfinishedAtstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/shared-object-schemas Object schemas shared across the workspaces of this organization
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/shared-object-schemas" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"key": "string",
"name": "string",
"fields": {},
"removedFields": [
"string"
],
"version": 0,
"sourceWorkspaceId": "string",
"installed": true,
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem228[]requiredShow child parameters
idstringrequiredkeystringrequirednamestringrequiredfieldsobjectrequiredremovedFieldsstring[]requiredversionintegerrequiredsourceWorkspaceIdstringrequiredinstalledbooleanrequiredupdatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/object-types/{id}/share Publish this workspace's object type to the organization (re-publishing bumps the version)
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/object-types/{id}/share" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"key": "string",
"name": "string",
"fields": {},
"removedFields": [
"string"
],
"version": 0,
"sourceWorkspaceId": "string",
"installed": true,
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkeystringrequirednamestringrequiredfieldsobjectrequiredremovedFieldsstring[]requiredversionintegerrequiredsourceWorkspaceIdstringrequiredinstalledbooleanrequiredupdatedAtstringrequiredPOST
https://hermeticor.com /v1/shared-object-schemas/{id}/install Create or update the object type here from a shared schema (fields are merged, none removed)
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/shared-object-schemas/{id}/install" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredDELETE
https://hermeticor.com /v1/shared-object-schemas/{id} Stop sharing (only from the workspace that published it; installed copies stay)
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/shared-object-schemas/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/profiles/{id}/files Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/files" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"filename": "string",
"url": "string",
"contentType": "string",
"bytes": 0,
"uploadedBy": "string",
"uploadedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem229[]requiredShow child parameters
idstringrequiredfilenamestringrequiredurlstringrequiredcontentTypestringrequiredbytesintegerrequireduploadedBystringrequireduploadedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/profiles/{id}/files Attach a file (multipart field "file"; the asset library's types and limits apply)
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/{id}/files" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"filename": "string",
"url": "string",
"contentType": "string",
"bytes": 0,
"uploadedBy": "string",
"uploadedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredfilenamestringrequiredurlstringrequiredcontentTypestringrequiredbytesintegerrequireduploadedBystringrequireduploadedAtstringrequiredDELETE
https://hermeticor.com /v1/profiles/{id}/files/{fileId} Parameters
idstringpathrequiredfileIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/profiles/{id}/files/{fileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated