collections
GET
https://hermeticor.com /v1/collections Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/collections" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"description": "string",
"rowCount": 0,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsPostV1CollectionsResponse[]requiredShow child parameters
idstringrequirednamestringrequireddescriptionstringrequiredrowCountintegerrequiredcreatedAtstringrequiredupdatedAtstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/collections Request body
application/json
namestringrequireddescriptionstringrowsobject[]csvstring{
"name": "string",
"description": "string",
"rows": [
{}
],
"csv": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/collections" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","description":"string","rows":[{}],"csv":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"description": "string",
"rowCount": 0,
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequireddescriptionstringrequiredrowCountintegerrequiredcreatedAtstringrequiredupdatedAtstringrequiredGET
https://hermeticor.com /v1/collections/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/collections/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/collections/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringdescriptionstring{
"name": "string",
"description": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/collections/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","description":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/collections/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/collections/{id}" \
-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/collections/{id}/content Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/collections/{id}/content" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"rows": [
{}
]
}Schema
rowsobject[]requiredPUT
https://hermeticor.com /v1/collections/{id}/content Replaces every row (JSON array of objects, or CSV text with a header row)
Parameters
idstringpathrequiredRequest body
application/json
rowsobject[]csvstring{
"rows": [
{}
],
"csv": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/collections/{id}/content" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rows":[{}],"csv":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated