Actions
Bug #34859
closeddon't expose "label" param in PUT /organizations/:id API
Difficulty:
trivial
Triaged:
Yes
Pull request:
Description
Ohai,
we don't allow changing the label of the API, yet it is present in the APIdoc for PUT /organizations/:id:
…
"doc_url": "../apidoc/v2/organizations/update",
"name": "update",
"apis": [
{
"api_url": "/katello/api/organizations/:id",
"http_method": "PUT",
"short_description": "Update organization",
"deprecated": null
}
],
"formats": null,
"full_description": "",
"errors": [],
"params": [
{
…
{
"name": "organization",
"full_name": "organization",
"description": "",
"required": true,
"allow_nil": false,
"allow_blank": false,
"validator": "Hash",
"expected_type": "hash",
"metadata": null,
"show": true,
"validations": [],
"params": [
{
…
{
"name": "label",
"full_name": "organization[label]",
"description": "",
"required": false,
"allow_nil": true,
"allow_blank": false,
"validator": "String",
"expected_type": "string",
"metadata": null,
"show": true,
"validations": []
},
…
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Evgeni Golov
- Pull request https://github.com/Katello/katello/pull/10084 added
Updated by Chris Roberts over 3 years ago
- Category set to API
- Target version set to Katello 4.5.0
- Difficulty set to trivial
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases Katello 4.5.0 added
Updated by Evgeni Golov over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|56e5b3862f12325b32a83efecc2fb70930f13721.
Actions