Re: Updating a "patch" state via REST

2018-10-10 Thread Markus Mayer
On Wed, 10 Oct 2018 at 00:33, Stewart Smith wrote: > > Markus Mayer writes: > > I am working on a script that will, amongst other things, update the > > state ("Accepted", "Rejected", etc.) of patches in our own Patchwork > > installation. The script is using the REST API. All requests in the >

Re: Updating a "patch" state via REST

2018-10-10 Thread Stephen Finucane
On Wed, 2018-10-10 at 18:33 +1100, Stewart Smith wrote: > Markus Mayer writes: > > I am working on a script that will, amongst other things, update the > > state ("Accepted", "Rejected", etc.) of patches in our own Patchwork > > installation. The script is using the REST API. All requests in the

Re: Updating a "patch" state via REST

2018-10-10 Thread Stewart Smith
Markus Mayer writes: > I am working on a script that will, amongst other things, update the > state ("Accepted", "Rejected", etc.) of patches in our own Patchwork > installation. The script is using the REST API. All requests in the > script, so far, are GET requests. They work fine. > > Now, I

Re: Updating a "patch" state via REST

2018-10-09 Thread Markus Mayer
On Tue, 9 Oct 2018 at 15:33, Markus Mayer wrote: > > Hi, > > I am working on a script that will, amongst other things, update the > state ("Accepted", "Rejected", etc.) of patches in our own Patchwork > installation. The script is using the REST API. All requests in the > script, so far, are GET

Updating a "patch" state via REST

2018-10-09 Thread Markus Mayer
Hi, I am working on a script that will, amongst other things, update the state ("Accepted", "Rejected", etc.) of patches in our own Patchwork installation. The script is using the REST API. All requests in the script, so far, are GET requests. They work fine. Now, I want to issue a PUT request