Bug 704185 - Add version info to the status API call
Summary: Add version info to the status API call
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: Unspecified
OS: Solaris
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel62
TreeView+ depends on / blocked
 
Reported: 2011-05-12 11:33 UTC by Lukas Zapletal
Modified: 2015-05-14 15:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-07 13:55:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Lukas Zapletal 2011-05-12 11:33:56 UTC
Hello,

we would like to know the version number of Candlepin server, because we often run into issues when using incompatible API.

Is there any way to get the version number from the API call? If not the status call would be nice place to add it.

Thanks

Comment 1 Justin Sherrill 2011-06-07 13:55:12 UTC
Candlepin has a version already. http://localhost:8443/candlepin/status

$ curl -k https://localhost:8443/candlepin/status
{"version":"0.4.1","result":true,"release":"1%{?dist}"}

On an rpm install it gets filled out with the right release, when
running from git it shows the above.

Closing!


Note You need to log in before you can comment on or make changes to this bug.