Project

General

Profile

Actions

Bug #34859

closed

don't expose "label" param in PUT /organizations/:id API

Added by Evgeni Golov over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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": []
                                    },
…
Actions #1

Updated by The Foreman Bot over 2 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
Actions #2

Updated by Chris Roberts over 2 years ago

  • Category set to API
  • Target version set to Katello 4.5.0
  • Difficulty set to trivial
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #4

Updated by Evgeni Golov over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF