The isNew parameter seems a bit backwards; again I don't think you need to handle the "image diff" as a diff at all so this whole endpoint should remain as it was before this patch; instead you should only need to supply two new endpoints; "give me the old image" and "give me the current image". You can see the /diff concept as a completely different thing from viewing old and current images