* e2e: move api e2e tests into api package * move api e2e tests into test-e2e-api target and CI job * fix lint