I'm troubleshooting an issue where some custom APIs (v3) via an extension are not recognized by the site, either in the API explorer or when attempting to run them via cv. The situation is puzzling:
- the extension has multiple APIs, some of which are recognized and working
- the working/non-working APIs are structurally identical (except for the different action value). in other words, the file location and functions have a matching structure (they use the same entity value).
- I tried creating some test APIs via civix directly on the server, and they are not recognized
- What's more confusing is that the APIs do show up when I install the extension on another site. So site A registers some of the APIs; site B registers all of them. Identical code, and nothing particularly odd about the server environments.
I've checked the obvious -- cleared caches, etc. For some inexplicable reason, some APIs are recognized, others are not. Any suggestions on further troubleshooting?