Api
Heartbeats
Submit a single coding activity heartbeat to track your work
AuthorizationBearer <token>
In: header
timestampstring | number
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