Actions
Bug #27575
closedSubscription index API says the organization_id is required, while it is not
Difficulty:
trivial
Triaged:
Yes
Pull request:
Description
"apis": [
{
"api_url": "/katello/api/organizations/:organization_id/subscriptions",
"deprecated": null,
"http_method": "GET",
"short_description": "List organization subscriptions"
},
{
"api_url": "/katello/api/activation_keys/:activation_key_id/subscriptions",
"deprecated": null,
"http_method": "GET",
"short_description": "List an activation key's subscriptions"
},
{
"api_url": "/katello/api/subscriptions",
"deprecated": null,
"http_method": "GET",
"short_description": null
}
],
…
"params": [
…
{
"allow_blank": false,
"allow_nil": false,
"description": "\n<p>Organization ID</p>\n",
"expected_type": "numeric",
"full_name": "organization_id",
"metadata": null,
"name": "organization_id",
"required": true,
"show": true,
"validations": [],
"validator": "Must be a number."
},
…
When I want to hit the /katello/api/activation_keys/:activation_key_id/subscriptions route, there is no need to pass a Org id, because the AK will lead me to the right Org anyways.
The API controller will accept a request w/o the Org ID just fine and process it correctly.
Updated by Chris Roberts over 6 years ago
- Target version set to Katello Backlog
- Difficulty set to trivial
- Triaged changed from No to Yes
Updated by Evgeni Golov about 6 years ago
- Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
Updated by Evgeni Golov about 6 years ago
- Subject changed from Subscription indx API says the organization_id is required, while it is not to Subscription index API says the organization_id is required, while it is not
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/8309 added
Updated by The Foreman Bot about 6 years ago
- Fixed in Releases Katello 3.14.0 added
Updated by Samir Jha about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|74b03975bb12191b324b909eb99fc2f6b704dd60.
Updated by Justin Sherrill about 6 years ago
- Target version deleted (
Katello Backlog)
Updated by Ian Ballou about 6 years ago
- Target version set to Katello 3.14.0
- Triaged changed from No to Yes
Actions