Project

General

Profile

Feature #854

Provide the version when calling the status api method

Added by Corey Osman over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

I would like to the get the version of foreman via the api. This will be used to let people know I dont support the version they are running:

http://foreman/home/status?format=json

currently it returns the following:

{"status":200,"db_duration_ms":"1","result":"ok"}

Associated revisions

Revision 2dc34ac5 (diff)
Added by Ohad Levy over 9 years ago

fixes #854 - Provide the version when calling the status api method

History

#1 Updated by Ohad Levy over 9 years ago

  • Category set to API
  • Assignee set to Ohad Levy
  • Target version set to 0.3

#2 Updated by Ohad Levy over 9 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#3 Updated by Ohad Levy over 9 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF