processApi for api repos