[Pulp-dev] [pulp 3] proposed change to publishing REST api

Mihai Ibanescu mihai.ibanescu at gmail.com
Fri Oct 20 15:27:42 UTC 2017


That seems sensible, and in line with REST's mantra of "nouns in resource
URLs, not verbs".

On Thu, Oct 19, 2017 at 3:27 PM, Dennis Kliban <dkliban at redhat.com> wrote:

> @jortel and I have been discussing[0] how a user should find out what
> publication was created after a request is made to
> http://localhost:8000/api/v3/repositories/foo/publishers/
> example/bar/publish/
>
> I propose that we get rid of the above URL from our REST API and add
> ability to POST to http://localhost:8000/api/v3/
> repositories/foo/publishers/example/bar/publications/ instead. The
> response would be a 201. Each publication would have a task associated with
> it.
>
> This work would probably be done by whoever picks up issue 3033[1].
>
> [0] https://pulp.plan.io/issues/3035
> [1] https://pulp.plan.io/issues/3033
>
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20171020/90a4034a/attachment.htm>


More information about the Pulp-dev mailing list