REST 2.0 OpenAPI spec

While working with RT’s REST 2.0 API, and trying to figure out how it works, I’ve written down my findings as an OpenAPI spec (3.1). It’s not complete or anything, but I decided to share it nonetheless, as it could be of use to others as well.

You can find the spec here: RT / Request Tracker OpenAPI · GitLab

Feedback and patches are welcome!

Here are some tools for leveraging the spec: https://openapi.tools/

2 Likes

Why not propose it for inclusion into RT itself? It would be most useful there as part of RT::REST2

I intentionally chose an RT compatible license, so they can include it if they like. This thread may be considered as an implicit proposal to do so.

But, it’s probably not quite there yet in terms of API coverage.