Description of problem: The content hosts API has field name 'release'. In the activation keys the field is called 'release_version'. This is inconsistent and not intuitive for end-users of the API # curl -K /opt/hoici/etc/sat6/curl-hoici.conf "-HContent-Type: application/json" "-d{\"per_page\":9999,\"name\":\"li-lc-1589.hag.hilti.com\"}" -XGET https://localhost/katello/api/v2/organizations/3/systems | jq . | grep release "release": "6.7", # curl -K /opt/hoici/etc/sat6/curl-hoici.conf "-HContent-Type: application/json" "-d{\"per_page\":9999,\"name\":\"hg-crash::CITest::CITest-6.6.0\"}" -XGET https://localhost/katello/api/v2/organizations/3/activation_keys | jq . | grep release "release_version": "6.6", Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Use API to get activation key details, list release version field 2. Use API to get content host details, list release version field 3. Actual results: Different field names used Expected results: Consistent field name 'release_version' Additional info:
Moving 6.2 bugs out to sat-backlog.
Closing, this is not relevant any more because endpoints for systems are deprecated in 6.2 and will be removed in a future version.
Confirmed it is fixed in the subcription_facet_attributes [crash] root@li-lc-1578:~# curl -K /opt/hoici/etc/sat6/curl-hoici.conf "-HContent-Type: application/json" "-d{\"per_page\":9999,\"search\":\"name = li-lc-1589.hag.hilti.com\"}" -XGET https://localhost/api/v2/organizations/3/hosts | jq .results[0].subscription_facet_attributes | grep release "release_version": "7Server",