[PATCH v5 03/10] REST: Add Projects to the API

Finucane, Stephen stephen.finucane at intel.com
Thu Jun 2 23:08:56 AEST 2016


On 02 Jun 11:45, Finucane, Stephen wrote:
> On 26 May 20:12, Andy Doan wrote:
> > This exports projects via the REST API.
> > 
> > Security Constraints:
> >  * Anyone (logged in or not) can read all objects.
> >  * No one can create/delete objects.
> >  * Project maintainers are allowed to update (ie "patch"
> >    attributes)
> > 
> > Signed-off-by: Andy Doan <andy.doan at linaro.org>
> > Inspired-by: Damien Lespiau <damien.lespiau at intel.com>
> > Reviewed-by: Stephen Finucane <stephen.finucane at intel.com>
> 
> I think this version might be the one. If so, rather than respinning,
> are you OK for me to exclude 'send_notifications' and 'use_tags'
> from the response? They seem rather "admin'y" and not that useful for
> the casual user.

In addition, would you be averse to using 'link_name', 'list_id', and
'list_email' instead (i.e. renaming those fields). These are more
consistent with how we name stuff elsewhere. Should probably be fixed
at the database level, but we could do it at the API level now to
prevent having to change it a future revision.

Stephen


More information about the Patchwork mailing list