Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.28
-
Fix Version/s: 4.7.30
-
Component/s: CiviCRM API
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
We have a precedent for allowing intensive operations to be skipped when being called from the api - ie. currently geocoding and street parsing can be skipped and filled by offline jobs. There is a PR open to allow skipping the mystical and magical fixAddress function https://github.com/civicrm/civicrm-core/pull/11372/files and the processGreeting code is in a similar vein ie 1) expensive to run and 2) there is a job which can do it 'out of hours' if decided.
Adding another 'magic param' to the v3 api is not great but OTOH there is sufficient precedent IMHO