Actions
Bug #20219
closedorganization_id should be a top level attribute in the API
Description
This is true for any many-to-one relationship to organization (content_views, repositories, sync_plans, etc.)
GET https://katello.example.com/katello/api/v2/content_views/1
Current:
{
...,
"organization": {
"name": "Default Organization",
"label": "Default_Organization",
"id": 1
},
...
}
Expected:
{
...,
"organization_id": 1,
"organization": {
"name": "Default Organization",
"label": "Default_Organization",
"id": 1
},
...
}
Actions