<div dir="ltr"><div>Folks,</div><div><br></div><div>Austin, Dennis, and Milan have identified the following issues with current Pulp3 REST API design:</div><div><ul><li>Action endpoints are problematic.<br></li><ul><li>Example POST@/importers/<plugin>/sync/</li><li>They are non-RESTful and would make client code tightly coupled with the server code.</li><li>These endpoints are inconsistent with the other parts of the REST API.</li><li>DRF is not being used as intended for action endpoints so we have to implement extra code. (against the grain)</li></ul><li>We don't have a convention for where plug-in-specific, custom repository version creation endpoints.<br></li><ul><li>example POST@/api/v3/<where?>/docker/<wbr>add/</li><li>needs to be discoverable through the schema</li></ul><li>For direct repository version creation, plugins are not involved.<br></li><ul><li>validation correctness problem: <a href="https://pulp.plan.io/issues/3541" target="_blank">https://pulp.plan.io/issues/<wbr>3541</a></li><li>example: POST@/api/v3/repositories/<<wbr>repository_id>/versions/</li></ul></ul></div><div>We would like to get feedback on these issues being sound and worth resolving before we resume particular solution discussion[1].</div><div><br></div><div>Thanks,</div><div>Austin, Dennis, and Milan</div><div><br></div><div>[1] <a href="https://www.redhat.com/archives/pulp-dev/2018-March/msg00066.html" target="_blank">https://www.redhat.com/<wbr>archives/pulp-dev/2018-March/<wbr>msg00066.html</a><br></div><div><br></div></div>