[katello-devel] Looking at he json for a consumer
Bryan Kearney
bkearney at redhat.com
Thu Sep 15 18:22:28 UTC 2011
The consumer json has the following data:
"updated_at": "2011-09-15T18:19:13Z",
"uuid": "a7a248fd-9c53-4b01-b4ee-cb83f5469bb0",
"id": 2,
"system_template_id": null,
"environment_id": 3,
"description": "Initial Registration Params",
"owner": {
"href": "/owners/TestOrg",
"displayName": "TestOrg",
"id": "00000000326e418d01326e456a240003",
"key": "TestOrg"
}
}
Mote that the owner is a complex object which includes, among other
things, the key and href.
Would folks mind adding this to the json:
"environemnt": {
"href": "/environments/Dev",
"name": "Dev",
"id": "1",
}
This would make it a bit more consistent and would allow consumer
clients (e.g. subscription manager) to be less chatty.
-- bk
More information about the katello-devel
mailing list