RESTful API

Help
Gerry
2011-12-20
2013-01-05
  • Gerry

    Gerry - 2011-12-20

    I would like to use the HTTP REST API to access data from Trac (Testmanager), however there seems to be no information about using the API for read-only access in the plugin documentation. Is there existing documentation for this?

    My intent is to create a matrix of Test Plans and related Test Cases.


    The "Test Cases" and "Test Plans" would be links. Is there a simpler, or built in, way to provide this functionality?

     
  • Gerry

    Gerry - 2011-12-20

    A diagram missing from the original message:

     
  • Roberto Longobardi

    Hi,
    the REST API is very limited and does not include the functionality you are looking for.

    You may use the XML-RPC API, which works over HTTP as well, is complete and very easy to use.

    Refer to this page for documentation:
    http://trac-hacks.org/wiki/TestManagerForTracPluginRPCApi

    The page has an example of invocation from python, but it's very easy to do it from Java or, if you need to do it from the browser, from Javascript:

    http://mimic-xmlrpc.sourceforge.net/

    Let me know if you have further questions.

    Ciao,
    Roberto

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks