Rest interfaces for gallery