API Design Questions (5)
Gervase Markham
gerv at mozilla.org
Thu Oct 1 09:30:03 UTC 2009
On 30/09/09 23:25, Max Kanat-Alexander wrote:
> On 09/30/2009 06:28 AM, Gervase Markham wrote:
>> https://wiki.mozilla.org/Bugzilla:REST_API:Objects
>
> Maybe instead of having a separate attachmentdata object, you should
> allow people to specify ?include= or ?exclude= to include or exclude
> certain fields from every object.
I do have a limited include/exclude mechanism, including for attachment
data. The attachmentdata object is an object solely because it has two
related fields. I guess I could collapse it into the attachment object;
maybe that would be simpler. It's only separate now due to a quirk of
the XML output.
Yes, OK, I'll do that.
Gerv
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla
More information about the developers
mailing list