Customizing REST Plugin

Can I customize REST API to add new teamcity API, for e.g. add new users etc. If yes, what should be the starting point for this?

Thanks,
Himanshu Taneja

3 comments

I am trying to checkout code from http://svn.jetbrains.org/teamcity/plugins/rest-api/ trunk, and I get the error Could not resolve hostname. Is there any way, I can get the source code.

0

Are you sure there is no problem with DNS on your side? svn.jetbrains.org currently is up and running.

0

Sorry for the delay in replying.

It's not yet easily possible to extend the REST plugin, but you can get the sources of the plugin and create a new plugin with extended functionality. When creating new plugin please make sure you change it's name (at least plugin.name property in the build.xml) and binding controller URL (value of api.path parameter in the teamcity-plugin.xml file). You can then install the plugin as usual into .BuildServer/plugins

If you come up with something that may be of general use, please consider sharing your code for other users or even submitting us a patch to bundle the functionality.

0

Please sign in to leave a comment.