<div dir="ltr"><div>Hi all,</div><div>As of today, plugins have the freedom to define whichever endpoints they want ( to some extent).<br></div><div>This leads to the question - shall we namespace one-shot upload and copy endpoints for some consistency?   <br></div><div><br></div><div>POST /api/v3/content/rpm/packages/upload/ <br></div><div><div><div>POST /api/v3/content/rpm/packages/copy/</div></div><div><br></div><div>or <br></div></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>POST /api/v3/content/rpm/upload/ type =package<br></div><div><div>POST /api/v3/content/rpm/copy/ type = [package, modulemd]</div></div></div><div dir="ltr"><br></div><div>I wanted to bring this up, before it diverges a lot. For the record, I have checked only RPM plugin, I am not aware of the state of the other plugins.<br></div><div>Right now we have an active endpoint for one-shot upload of rpm package:</div><div dir="ltr">POST /api/v3/content/rpm/upload/ <br></div><div dir="ltr"><br></div><div>And there is PR for one-shot upload of modulemd-defaults:</div><div>POST /api/v3/content/rpm/modulemd-defaults/  <br></div><div><br></div><div>For rpm copy we have POST /api/v3/content/rpm/copy/ types=[]</div><div><br></div><div>We are starting some work on docker recursive copy, so it would be helpful to reach some agreement before going further that path.<br></div><div><br></div><div>Thank you!<br></div><div dir="ltr">--------<br>Regards,<br><br>Ina Panova<br>Senior Software Engineer| Pulp| Red Hat Inc.<br><br>"Do not go where the path may lead,<br> go instead where there is no path and leave a trail."<br></div></div></div></div></div></div></div>