Added POST Gallery API + Fixed validation