tags
GET
https://hermeticor.com /v1/tags Tag directory: every tag with per-resource-type counts and its group
Parameters
resourceTypestringqueryqstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/tags" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"tag": "string",
"group": "string",
"color": "string",
"description": "string",
"counts": {}
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
tagstringrequiredgroupstringrequiredcolorstringrequireddescriptionstringrequiredcountsobjectrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/tags Create a tag before anything carries it
Request body
application/json
namestringrequiredcolorstringdescriptionstring{
"name": "string",
"color": "string",
"description": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/tags" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","color":"string","description":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"name": "string",
"created": true,
"color": "string",
"description": "string"
}Schema
namestringrequiredcreatedbooleanrequiredcolorstringrequireddescriptionstringrequiredGET
https://hermeticor.com /v1/tags/{name} One tag with its colour and description
Parameters
namestringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/tags/{name}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"name": "string",
"color": "string",
"description": "string"
}Schema
namestringrequiredcolorstringrequireddescriptionstringrequiredDELETE
https://hermeticor.com /v1/tags/{name} Delete a tag from every profile and resource
Parameters
namestringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/tags/{name}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/tags/{name} Rename a tag everywhere (merges into an existing tag of that name) and/or set its colour and description
Parameters
namestringpathrequiredRequest body
application/json
namestringcolorstringdescriptionstring{
"name": "string",
"color": "string",
"description": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/tags/{name}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","color":"string","description":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/tag-groups Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/tag-groups" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"tags": [
"string"
],
"exclusive": false,
"isDefault": false,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem8[]requiredShow child parameters
idstringrequirednamestringrequiredtagsstring[]requiredexclusivebooleanrequiredisDefaultbooleanrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/tag-groups Request body
application/json
namestringrequiredtagsstring[]exclusivebooleanisDefaultboolean{
"name": "string",
"tags": [
"string"
],
"exclusive": true,
"isDefault": true
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/tag-groups" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","tags":["string"],"exclusive":true,"isDefault":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"tags": [
"string"
],
"exclusive": false,
"isDefault": false,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredtagsstring[]requiredexclusivebooleanrequiredisDefaultbooleanrequiredcreatedAtstringrequiredGET
https://hermeticor.com /v1/tag-groups/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/tag-groups/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/tag-groups/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/tag-groups/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
PATCH
https://hermeticor.com /v1/tag-groups/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringtagsstring[]exclusivebooleanisDefaultboolean{
"name": "string",
"tags": [
"string"
],
"exclusive": true,
"isDefault": true
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/tag-groups/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","tags":["string"],"exclusive":true,"isDefault":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/tags/resources/{resourceType}/{resourceId} Parameters
resourceTypestringpathrequiredresourceIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/tags/resources/{resourceType}/{resourceId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"tags": [
"string"
]
}Schema
tagsstring[]requiredUpdated