digitalmarketplace-api icon indicating copy to clipboard operation
digitalmarketplace-api copied to clipboard

Updating framework details requires full JSON

Open TheDoubleK opened this issue 9 years ago • 1 comments

Updating a framework's details via the API endpoint requires submitting all details - e.g. createdAt, frameworkAgreementVersion and all full variations in order to make an update.

It would be nice to be able to add/update fields without having to submit the whole thing, and submitting the whole thing is likely to be much more error-prone than submitting just the updated values.

https://github.com/alphagov/digitalmarketplace-api/blob/master/app/main/views/frameworks.py#L108

TheDoubleK avatar Oct 05 '16 13:10 TheDoubleK

As far as I can see, this ticket isn't correct, as it looks like it was fixed in by commit 25967. But maybe I'm wrong, someone more familiar with this code should take a look.

galund avatar May 22 '18 09:05 galund