Project

General

Profile

Actions

Bug #875

closed

Non consistent behaviour of GET APIs

Added by Elena Dolinin about 13 years ago. Updated almost 12 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

All APIs for GET collections return in response proper json obects:

http://10.35.64.2:3000/architectures?format=json {"architecture":{"name":"x86_64","id":1}},{"architecture":{"name":"i386","id":2}}]

But 'hosts' API returns only a list of host names and no hosts properties:

http://10.35.64.2:3000/hosts?format=json
["itzik1.qa.lab.tlv.redhat.com","test.qa.lab.tlv.redhat.com","testLena.qa.lab.tlv.redhat.com"]


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Feature #1524: Add more attributes to JSON index ClosedCorey Osman03/11/2012Actions
Actions

Also available in: Atom PDF