Status

Marketplace
Payments/Refunds
P4
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Andy McKay, Unassigned)

Tracking

x86
Mac OS X
Points:
---

Details

(Reporter)

Description

4 years ago
If you GET an app, you can't just PUT it back.

Calling url: GET http://localhost:8001/provider/reference/sellers/28986eed-beac-4458-a706-cfb162ea8003
Request data:
{}
Status code: 200
Response data:
{u'agreement': u'',
 u'email': u'jdoe@example.org',
 u'id': u'28986eed-beac-4458-a706-cfb162ea8003',
 u'name': u'John',
 u'resource_name': u'sellers',
 u'resource_uri': u'/provider/reference/sellers/28986eed-beac-4458-a706-cfb162ea8003/',
 u'status': u'ACTIVE',
 u'uuid': u'28986eed-beac-4458-a706-cfb162ea8003'}

Calling url: PUT http://localhost:8001/provider/reference/sellers/28986eed-beac-4458-a706-cfb162ea8003/
Request data:
{u'agreement': u'',
 u'email': u'jdoe@example.org',
 u'id': u'28986eed-beac-4458-a706-cfb162ea8003',
 u'name': u'John',
 u'resource_name': u'sellers',
 u'resource_uri': u'/provider/reference/sellers/28986eed-beac-4458-a706-cfb162ea8003/',
 u'status': u'ACTIVE',
 u'uuid': u'28986eed-beac-4458-a706-cfb162ea8003'}
Status code: 409
Error: {"error_message": "Unrecognized fields: resource_name,id,resource_uri"}

It would be nice to ignore resource_name, id, resource_uri in zippy.
Isn't it the aim of solitude to serve as a proxy and deal with extra fields?
(Reporter)

Updated

4 years ago
Priority: -- → P4
(Reporter)

Comment 2

4 years ago
I've got this in some later zippy fixes to make it work with the new public_id field added for Boku.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.