Project

General

Profile

Actions

Bug #875

closed

Non consistent behaviour of GET APIs

Added by Elena Dolinin almost 13 years ago. Updated over 11 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 #1

Updated by Corey Osman almost 13 years ago

I would like to see that puppet status and OS are included.

Actions #2

Updated by Brian Gupta over 12 years ago

Talking to Ohad about API, and he suggested we review the following for ideas: http://incubator.apache.org/deltacloud/api.html

Actions #3

Updated by Ohad Levy over 11 years ago

  • Category set to API
  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF