Edgewall Software

Ticket #3385 (closed enhancement: duplicate)

Opened 2 years ago

Last modified 2 years ago

Please add a public API

Reported by: tomek.piatek@… Owned by: jonas
Priority: high Milestone:
Component: general Version:
Severity: normal Keywords: api web service
Cc:

Description

It would be super nice if Trac had some sort of a public API for querying the system and manipulating tickets. This could be implemented as a simple REST-like service.

I am currently developing a set of practices and tools designed to facilitate the process of development management. I am aware of the svn post-hook pythin script which I intend to use for now but it would be really handy to have a proper API for talking to Trac.

Attachments

Change History

Changed 2 years ago by eblot

Trac is open-source, so you can manipulate the APIs as you wish from a post-hook script for example.

If you're looking for some example, check out the contributed trac-post-commit-hook script which can update or close a ticket, and send a notification as a result of a svn commit action.

You can also check out the XmlRpcPlugin to invoke the APIs remotely.

Changed 2 years ago by mgood

  • status changed from new to closed
  • resolution set to duplicate

This is a duplicate of #217.

Add/Change #3385 (Please add a public API)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.