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 <[email protected]> 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
> [email protected]
> https://www.redhat.com/mailman/listinfo/pulp-dev
>
>
_______________________________________________
Pulp-dev mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-dev

Reply via email to