add an endpoint route
add endpoint method
add slug
add default selection and refactor to use url