REST2: Difference between revisions

From Request Tracker Wiki
Jump to navigation Jump to search
(Created page with " == RT REST2 (JSON) API == * RT has two REST APIs - the original REST v1.0 API, and a newer, REST2 JSON API. * The REST1 API is still used and supported. Many things use it, including RT's mail gateway, rt-mailgate. The REST2 API is more modern and uses JSON for queries and responses, making it easier to integrate RT with other systems, and to read and update RT with scripts running on remote servers. The REST2 API was originally provided as an [https://github.com...")
 
mNo edit summary
Line 13: Line 13:
[https://docs.bestpractical.com/rt/5.0.7/RT/REST2.html REST2 Documentation]: https://docs.bestpractical.com/rt/5.0.7/RT/REST2.html
[https://docs.bestpractical.com/rt/5.0.7/RT/REST2.html REST2 Documentation]: https://docs.bestpractical.com/rt/5.0.7/RT/REST2.html


=== Examples ===
== Examples ==






=== Clients for RT REST2 API ===
== Clients for RT REST2 API ==


* [https://python-rt.readthedocs.io/en/stable/rest2.html python-rt] - Python client.
* [https://python-rt.readthedocs.io/en/stable/rest2.html python-rt] - Python client.

Revision as of 14:16, 6 March 2025

RT REST2 (JSON) API

  • RT has two REST APIs - the original REST v1.0 API, and a newer, REST2 JSON API.
  • The REST1 API is still used and supported. Many things use it, including RT's mail gateway, rt-mailgate.

The REST2 API is more modern and uses JSON for queries and responses, making it easier to integrate RT with other systems, and to read and update RT with scripts running on remote servers.

The REST2 API was originally provided as an extension for RT 4.4 and above.

REST2 is core in RT 5.0.0 and later, so you do not need this extension for those versions.

REST2 Documentation: https://docs.bestpractical.com/rt/5.0.7/RT/REST2.html

Examples

Clients for RT REST2 API