endpoint API adjustment