Added rest endpoint for photo galleries