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 <= 255languagestring
Length
length <= 50editorstring
Length
length <= 50osstring
Length
length <= 50branch?string
Length
length <= 255filestring
Length
length <= 255Response Body
curl -X POST "https://ziit.app/api/external/heartbeat" \ -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