Project

General

Profile

Actions

Bug #27590

closed

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

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
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 1 (1 open0 closed)

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

Actions
Actions

Also available in: Atom PDF