Download raw body.
initial documentation for the got-notify-http json payload
On Fri, Apr 05, 2024 at 02:39:21PM +0200, op@omarpolo.com wrote: > This is a draft of the description of the JSON structure that > got-notify-http posts to the given URL. I don't know how to describe the > format of the datetime string. Isn't it an option going with something standard? Either an UNIX timestamp (the receiver will already be processing the JSON in some way so I don't think this adds much additional burden) or something from ISO-8601 (I suggest either %Y-%m-%dT%H:%M:%SZ or %Y%m%dT%H%M%SZ (that standard defines way too many formats) and keep in mind that even so you might run into funny issues with different libcs for example (some might recognize Z as a timezone, some might not)). To be frank, the format I find the easiest to work with in JSON is the UNIX timestamp. Everything else eventually gives me a headache. Lucas
initial documentation for the got-notify-http json payload