[RFC 2/2] REST: Add Projects to the REST API

Andy Doan andy.doan at linaro.org
Fri Mar 25 07:27:53 AEDT 2016

On 03/24/2016 10:47 AM, Finucane, Stephen wrote:
>> +class ProjectSerializer(serializers.HyperlinkedModelSerializer):
>> >+    class Meta:
>> >+        model = Project
> Should we serialize 'tags' also (read only)?

As project.tags is really just Tags.objects.all(), does it really make 
much sense from a REST API perspective? ie - should we just expose a 
"tags" endpoint?

More information about the Patchwork mailing list