import { getDefaultClient } from '../../factory' import type { OpenAPIGetEntityRespVO } from '../../types/openapi' // @endpoint GET /open/v1/apps/:app_id/collections/:entity_id // @controller OpenAPI.GetEntity export async function getOpenAPIEntity( appId: string, entityId: string ): Promise { return getDefaultClient().get(`/open/v1/apps/${appId}/collections/${entityId}`) }