Feature #2931
closed
API v2 hosts JSON response, add *_name for each *_id
Added by Joseph Magen over 11 years ago.
Updated almost 7 years ago.
Description
Currently
host": {
"name": "fdev2.sat.lab.tlv.redhat.com",
"id": 394,
"ip": "10.35.27.3",
"operatingsystem_id": 42,
"environment_id": 1,
Wanted
host": {
"name": "fdev2.sat.lab.tlv.redhat.com",
"id": 394,
"ip": "10.35.27.3",
"operatingsystem_id": 42,
"operatingsystem_name": "Centos 6.3",
"environment_id": 1,
"environment_name": "Production",
The same for *_ids -> *_names, please
- Status changed from Assigned to Ready For Testing
- Target version set to 1.3.0
- Status changed from Ready For Testing to Assigned
The PR's been closed, but I think this is still needed, right?
- Related to Feature #2945: Extend AR to add getter/setter methods *_names similar to *_ids added
Yes, PR to provide this functionality is merged, but the JSON rabl views have not been updated, so keep this issue open.
- Target version changed from 1.3.0 to 1.4.0
- Target version deleted (
1.4.0)
- Target version set to 1.15.0
- Status changed from Assigned to Ready For Testing
- Target version changed from 1.15.0 to 1.10.0
- Translation missing: en.field_release set to 2
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Has duplicate Bug #3098: _name for _id of associated resources are missing in API (rabl) added
Also available in: Atom
PDF