action elmah_heartbeats_create { label: "Create a new heartbeat." description: "Required permission: `heartbeats_write`" provider: elmah method: POST path: "/v3/heartbeats/{logId}/{id}" encoding: json input: { type: "object" properties: { application: { type: "string" description: "Optional string to identify which application logged this message. You can use this if you have multiple applications and services logging to the same log. \nIf not set, the application name \"Heartbeats\" will be set on all log messages generated from this heartbeat." } id: { type: "string" } logId: { type: "string" } reason: { type: "string" description: "If result is \"Degraded\" or \"Unhealthy\" you can use this property to specify why." } result: { type: "string" description: "The result of this heartbeat. Can be \"Healthy, \"Degraded\", or \"Unhealthy\". Defaults to \"Healthy\"" } took: { type: "integer" format: "int64" description: "Optional long for specifying how many milliseconds it took to execute the task resulting in this heartbeat. This can be used to get a better overview \nof how long a scheduled task or service is running or to figure out if the grace period should be increased." } version: { type: "string" description: "Optional string to identify which version of your application logged this message. If not specified, any errors, warnings, or information messages will get \nthe newest version number created through deployment tracking as with normal log messages." } } required: ["id", "logId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }