increase terseness in api uri check