API Extension for RT

Hello all,

I am a newbie to RT and I want to get suggestions and knowledge sharing about how to write REST API extension to extract specific ticket information and customfields from http://localhost/REST/2.0/ticket/{id}
.Thank you all.

You want to write an RT extension or just looking for information on getting data from the REST2 API? The docs are a pretty good place to start:

https://docs.bestpractical.com/rt/5.0.2/RT/REST2.html

I typically look at the tests as well from the source code

I want to fetch some information like
Status,
Queue and
Some CustomFields
from running the following in a terminal
curl -i -H ‘Authorization: token XX_TOKEN_XX’ ‘http://localhost:8000/REST/2.0/ticket/id