Project

General

Profile

Bug #27590

Content Uploads API expects the content_upload id as an Integer, while it is a String (UUID)

Added by Evgeni Golov 2 months ago. Updated 2 months ago.

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

Description

                            {
                                "api_url": "/katello/api/repositories/:repository_id/content_uploads/:id",
                                "deprecated": null,
                                "http_method": "PUT",
                                "short_description": "Upload a chunk of the file's content" 
                            }
                        ],
                        "doc_url": "../apidoc/v2/content_uploads/update",
                        "errors": [],
                        "examples": [],
                        "formats": null,
                        "full_description": "",
                        "headers": [],
                        "metadata": null,
                        "name": "update",
                        "params": [
                            {
                                "allow_blank": false,
                                "allow_nil": false,
                                "description": "\n<p>Upload request id</p>\n",
                                "expected_type": "numeric",
                                "full_name": "id",
                                "metadata": null,
                                "name": "id",
                                "required": true,
                                "show": true,
                                "validations": [],
                                "validator": "Must be a number." 
                            },
expected_type should be string, not numeric

Related issues

Related to Foreman - Tracker #27680: API bugs that need workarounds in foreman-ansible-modulesNew

Associated revisions

Revision cf1acc58 (diff)
Added by Evgeni Golov 2 months ago

Fixes #27590 - upload request id is a String, not a :number

upload ids are UUIDs and as such strings

History

#1 Updated by The Foreman Bot 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8265 added

#2 Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 3.14.0 added

#3 Updated by Evgeni Golov 2 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Chris Roberts 2 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#5 Updated by Evgeni Golov about 2 months ago

  • Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added

Also available in: Atom PDF