ZettaIO / cachet-client

A python 3.6+ client for the Cachet API : https://cachet-client.readthedocs.io/
MIT License
14 stars 8 forks source link

Change created_at to occurred_at in incidents #24

Closed neutron-ah closed 3 years ago

neutron-ah commented 3 years ago

created_at is useless field, there is no display or sort incidents. occurred_at is only one datetime field that can be set on Cachet web page. This filed displayed on incident object

einarf commented 3 years ago

occurred_at is cachet 2.4 specific it seems. We should support both and include the version differences in docs.

2.4 also has a meta field I have not looked into yet.

einarf commented 3 years ago

Modified this PR slightly so both fields are supported