I'm wondering if folks working on this codebase have the intention (or maybe simply the interest) of eventually adding support for version 2.0 of RT's REST API?
I'm asking since version 2.0 returns values in a format that's a lot easier to use with a script than the API version 1.0. For example:
returned values are formatted in JSON which is way easier to parse
values are not shown as the localized string that would be printed in the web interface for the user.
** as an example for this, in version 1.0 of the API, with RT set to a canadian french locale, when I request info about a ticket I see LastUpdated: Jeu 07 Mai 2020 14:06:41 whereas version 2.0 of the API shows: LastUpdated: "2020-05-07T18:06:41Z" the latter is way easier to parse with a script and stays consistant no matter the user's locale.
If there's no plan but an interest to have it, then maybe I can try and work on it in the next few weeks.
Hello,
I'm wondering if folks working on this codebase have the intention (or maybe simply the interest) of eventually adding support for version 2.0 of RT's REST API?
see: https://metacpan.org/release/RT-Extension-REST2
I'm asking since version 2.0 returns values in a format that's a lot easier to use with a script than the API version 1.0. For example:
LastUpdated: Jeu 07 Mai 2020 14:06:41
whereas version 2.0 of the API shows:LastUpdated: "2020-05-07T18:06:41Z"
the latter is way easier to parse with a script and stays consistant no matter the user's locale.If there's no plan but an interest to have it, then maybe I can try and work on it in the next few weeks.
Cheers!