Api
Heartbeat
Accepts one heartbeat payload authenticated via Bearer API key.
AuthorizationBearer <token>
In: header
timestampstring | number
ISO 8601 timestamp; numeric epoch also accepted.
projectstring
Length
length <= 255
languagestring
Length
length <= 50
editorstring
Length
length <= 50
osstring
Length
length <= 50
branch?string
Length
length <= 255
filestring
Length
length <= 255
Response Body
curl -X POST "https://ziit.app/api/external/heartbeats" \ -H "Content-Type: application/json" \ -d '{ "timestamp": "2023-10-15T14:30:00Z", "project": "my-awesome-project", "language": "javascript", "editor": "vscode", "os": "macos", "file": "App.js" }'
{
"success": true,
"id": "string"
}
Empty
Empty
Empty