API Design Questions

Gervase Markham gerv at mozilla.org
Thu Sep 24 10:15:34 UTC 2009


On 23/09/09 22:57, Max Kanat-Alexander wrote:
> On 09/23/2009 04:14 AM, Gervase Markham wrote:
>> So should I change it to use URLs simply of the form
>> /attachment/<attachid>
>
> 	Yeah, probably.

OK.

>> /comment/13535
>> /comment/43487
>
> 	Probably both, but I definitely plan to start using comment ids in as
> many places in the future instead of comment numbers. Also,
> theoretically comment numbers can change, but comment ids can't.

"Theoretically" meaning that in the future we may introduce a feature 
which inserts comments into the middle of the stream, but we haven't 
yet? Or meaning that Bugzilla already does this in some circumstances?

I know we don't renumber when some comments are made private. And if we 
did do this, people's URLs would break...

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