API for Adding Contributors to a Package?
Hi there! I took a look at the API docs that I could find ( https://warehouse.readthedocs.io/api-reference/) and I couldn't see if it was possible to programmatically edit the contributors who have access to a project on PyPI. My use case is for the BeeWare project being able to dynamically add and remove permissions to upload new versions of packages. Does this API exist? I'm also at PyCon until Thursday if someone wants to talk about my use case directly and is also here. Cheers, Philip
On 07May2019 1048, Philip James wrote:
Hi there! I took a look at the API docs that I could find (https://warehouse.readthedocs.io/api-reference/) and I couldn't see if it was possible to programmatically edit the contributors who have access to a project on PyPI.
My use case is for the BeeWare project being able to dynamically add and remove permissions to upload new versions of packages.
Does this API exist?
I'm also at PyCon until Thursday if someone wants to talk about my use case directly and is also here.
Is this significantly different from having a way to generate single-use or time-bounded API keys for uploading? I've been interested in something like that for use from Azure Pipelines to make it easier to publish packages as part of builds. Cheers, Steve
For the list: I chatted with Steve, Donald, and Cooper in person in the sprints room. We're going to chat more tomorrow about a way forward for "how Warehouse APIs should be built", and we will share a proposal with this list. We'll definitely be looking at the prior art and proposals when we do so, stay tuned!
participants (2)
-
Philip James
-
Steve Dower