Bug 704185

Summary: Add version info to the status API call
Product: [Community] Candlepin Reporter: Lukas Zapletal <lzap>
Component: candlepinAssignee: Bryan Kearney <bkearney>
Status: CLOSED WORKSFORME QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.5CC: bkearney, jsherril
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Solaris   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-07 13:55:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 682238    

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!