add <slug> in preparedValidation in repoBase and add api v1
change url to slug in all object except pages
add api controller parent