assets
GET
https://hermetica.15.204.158.166.sslip.io /v1/assets/{id}/tracked-links Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/assets/{id}/tracked-links" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"assetId": "string",
"label": "string",
"downloads": 0,
"revoked": true,
"createdAt": "2024-01-01T00:00:00Z",
"url": "string"
}
]
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredassetIdstringrequiredlabelstringrequireddownloadsintegerrequiredrevokedbooleanrequiredcreatedAtstringrequiredurlstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermetica.15.204.158.166.sslip.io /v1/assets/{id}/tracked-links Create a tracked download link to a stored asset; hits count, and per-profile links record an asset_downloaded event
Parameters
idstringpathrequiredRequest body
application/json
labelstring{
"label": ""
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/assets/{id}/tracked-links" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":""}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"assetId": "string",
"label": "string",
"downloads": 0,
"revoked": true,
"createdAt": "2024-01-01T00:00:00Z",
"url": "string"
}Schema
idstringrequiredassetIdstringrequiredlabelstringrequireddownloadsintegerrequiredrevokedbooleanrequiredcreatedAtstringrequiredurlstringrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/tracked-links/{id}/profile-url The link personalised for one profile (use it in that profile's messages)
Parameters
profileIdstringqueryrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/tracked-links/{id}/profile-url?profileId=<profileId>" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"url": "string"
}Schema
urlstringrequiredDELETE
https://hermetica.15.204.158.166.sslip.io /v1/tracked-links/{id} Revoke a tracked link
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermetica.15.204.158.166.sslip.io/v1/tracked-links/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermetica.15.204.158.166.sslip.io /f/{ws}/{id}/{*} A not-indexable or private library file: private files need a valid signed link (?t=); always answered with noindex
Parameters
tstringquerywsstringpathrequiredidstringpathrequired*stringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/f/{ws}/{id}/{*}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
302 Default Response
"string"
POST
https://hermetica.15.204.158.166.sslip.io /v1/assets/query Filter assets with a typed where / orderBy / limit / offset (fields are an allowlist; read "fields" in the result)
Request body
application/json
whereobject[]Show child parameters
fieldstringrequiredopstringrequiredvaluestring | number | boolean | string | number[]orderByobject[]Show child parameters
fieldstringrequireddirstringlimitintegeroffsetinteger{
"where": [],
"orderBy": [],
"limit": 50,
"offset": 0
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/assets/query" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"where":[],"orderBy":[],"limit":50,"offset":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{}
],
"fields": [
"string"
],
"hasMore": true
}Schema
itemsobject[]requiredfieldsstring[]requiredhasMorebooleanrequiredUpdated