Up until now that API endpoint only accepted HTTP arguments but it is sometime useful to send the update as a JSON blob instead of different arguments. This API endpoint will now support both approaches.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
rebased onto 2b7b26e5b1c18bbb2de154e74d7f7156e2e31a38
probably related: pagure/api/project.py line 2868 does not have a sample request.
Sample request body ^^^^^^^^^^^^^^^^^^^ :: { 'issue_tracker': false, 'disable_non_fast-forward_merges': true }
rebased onto a76d141c8c999d485871fa924ccbcd452a17717a
Adjusted :)
rebased onto 0504b8a4b3768e77f42d52f762565fecc39adb52
rebased onto 0b399a3cea968876a8d261018096d77e353cf1ad
:thumbsup:
Thanks!
Pull-Request has been merged by pingou
Up until now that API endpoint only accepted HTTP arguments but
it is sometime useful to send the update as a JSON blob instead
of different arguments. This API endpoint will now support both
approaches.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr