[rt-users] REST interface reference

Dmitri Tikhonov dtikhonov at vonage.com
Thu Sep 28 10:39:30 EDT 2006


Use 'rt' command-line tool.  It will give you a good idea of what fields
there are and their default values, etc.  To really get a good
understanding, use ethereal to look at HTTP traffic.

If you want to do this from a Perl program, I wrote RT::Client::REST a
while back.  It should be able to do what you need.  You can find it on
CPAN, give it a try.

  - Dmitri.

On Thu, 2006-09-28 at 10:25 -0400, Shawn Plummer wrote:
> Is there a simple REST interface reference out there? I searched the  
> wiki but got 78 results searching for just REST and zero searching  
> for REST with any other word (the wiki search function is pretty  
> terrible in my experience, or I just don't know how to use it).
> 
> At any rate, what we want to do is display all tickets for a given  
> username on our helpdesk portal page. The portal is Oracle portal,  
> and we have written a custom portlet, but need a way to query RT for  
> all tickets owned by a user, I assume that is a simple use of the  
> REST interface but can't find any information on how to interact with  
> it. What are the form names you can pass information too? what  
> variables do they accept? what is required and what is optional?
> 
> We were using RSS feeds to do this, but for some reason those have  
> ceased working in 3.6.1 for us. And using the REST interface seems  
> the better way to go about this anyway.
> 
> ~~~~~~~~~~~~~
> Shawn Plummer
> Systems Manager
> CIT SUNY Geneseo
> "The mind can make substance, and people planets of its own with  
> beings brighter than have been, and give a breath to forms which can  
> outlive all flesh." -Lord Byron
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com




More information about the rt-users mailing list