Skip to content

Conversation

florentsolt
Copy link

I've added the support for the Rest API available via Redmine (http://www.redmine.org/projects/redmine/wiki/Rest_api)

It helps a lot to make plugins for Textmate or Sublime text, or even shell script via Curl.

Hope you will like it.

@a1exsh
Copy link
Collaborator

a1exsh commented Mar 30, 2012

Sorry for delay on this. I have a few questions:

  1. How would I access the API for pastes? I've tried adding .api suffix to /projects/$project/pastes URI, but that results in 406 Not Acceptable status.
  2. Do you know of a way to DRY-up index.api.rsb, so it reuse the show API action? If that would be erb, I'd use a partial, but I have no idea what is equivalent for rsb.

Thank you.

@a1exsh
Copy link
Collaborator

a1exsh commented Apr 12, 2012

  1. I've opened a discussion on redmine.org boards, after I've noticed that Redmine's RSB templates do the same thing: http://www.redmine.org/boards/1/topics/29951

@florentsolt
Copy link
Author

You can skip this pull request, I've miss you comment last year :(
Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants