Project

Profile

Help

Issue #7245

closed

Unexpected param error not being returned

Added by daviddavis over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:

Description

The unexpected param error is not being returned on some endpoints.

$ http :/pulp/api/v3/repositories/rpm/rpm/ name=hello ok=world
{
    "ok": [
        "Unexpected field"
    ]
}
$ http :/pulp/api/v3/repositories/rpm/rpm/57faa011-c78f-476f-9283-848425b2118f/sync/ remote=/pulp/api/v3/remotes/rpm/rpm/5e25532f-5d72-4929
-92ad-732e6e37d895/ hello=world                                                                                                                                                                                                                                                                                                                             
{                                                                                                                                                                                   
    "task": "/pulp/api/v3/tasks/5382171f-a9d1-47d1-ac16-6843f4b53c4d/"                                                                                                              
}                                                                             

Also available in: Atom PDF