Feature #8145

API: Redmine version

Added by Thibaut LE LEVIER over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:2011-04-14
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Duplicate

Description

I'm working on a app which use Redmine API to list an create issues.

I made my app is using the JSON feed available only on the latest version.
So I need to check first witch version does Redmine run.

Is there any way to do that?
Should this feature be include in the next release?

Thanks


Related issues

Duplicates Redmine - Feature #5901: REST API to expose the Redmine version New 2010-07-18

History

#1 Updated by Thibaut LE LEVIER over 7 years ago

Maybe a simple meta in the layout should be a great idea?
Something like that in the base.rhtml:
<meta name="Generator" content="<%= Redmine::Info.versioned_name %>" />

What do you think about?
any chance to add it in the official release?

#2 Updated by Thibaut LE LEVIER over 7 years ago

Sorry for the blind comment, the code in the content attribute is the Info.versioned_name from the Redmine instance
Same as in the admin/info page

Thibaut LE LEVIER wrote:

Maybe a simple meta in the layout should be a great idea?
Something like that in the base.rhtml:
<meta name="Generator" content="<%= Redmine::Info.versioned_name %>" />

What do you think about?
any chance to add it in the official release?

#3 Updated by Etienne Massip over 7 years ago

  • Category set to Plugin API
  • Priority changed from High to Normal
  • Target version set to Candidate for next major release

#4 Updated by Etienne Massip over 7 years ago

  • Category changed from Plugin API to REST API

#5 Updated by Thibaut LE LEVIER over 7 years ago

May I help to add this feature?

#6 Updated by Etienne Massip over 7 years ago

Yes, you could add xml/json response formats to admin/info in controller.

#7 Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Same as #5901.

#8 Updated by Etienne Massip over 7 years ago

  • Target version deleted (Candidate for next major release)

Switched with #5901.

Also available in: Atom PDF