Project

General

Profile

Actions

Bug #27527

closed

Subscription upload API says the expected type of the manifest shall be string

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

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

                        "apis": [
                            {
                                "api_url": "/katello/api/organizations/:organization_id/subscriptions/upload",
                                "deprecated": null,
                                "http_method": "POST",
                                "short_description": "Upload a subscription manifest" 
                            }
                        ],
                        "params": [
                            {
                                "allow_blank": false,
                                "allow_nil": false,
                                "description": "\n<p>Subscription manifest file</p>\n",
                                "expected_type": "string",
                                "full_name": "content",
                                "metadata": null,
                                "name": "content",
                                "required": true,
                                "show": true,
                                "validations": [],
                                "validator": "File" 
                            },
…

I think saying that the file should be a string is quite far fetched :)


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