Project

General

Profile

Actions

Feature #854

closed

Provide the version when calling the status api method

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
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"}

Actions

Also available in: Atom PDF