add spec for gallery http interface