test api get activity