Adding a new custom APi endpoint? #4507
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@TOA-Anakin, thanks for sharing so much detail; this should be helpful for troubleshooting! In general, your approach looks reasonable to me, but a few initial questions/suggestions: 1.) Have you cleared out your 2.) I generally advice against making changes to application.config.php -- you should be able to use the VUFIND_LOCAL_MODULES environment variable in 3.) Which version of the code are you using? If you're on a recent dev branch, you may need to register your custom module in the autoload configuration of composer.json.local as well. You can use the I hope this is some help, but please let me know if you are still stuck! |
Beta Was this translation helpful? Give feedback.


@TOA-Anakin, thanks for sharing so much detail; this should be helpful for troubleshooting!
In general, your approach looks reasonable to me, but a few initial questions/suggestions:
1.) Have you cleared out your
$VUFIND_LOCAL_DIR/cache/configsdirectory after setting this up? Sometimes the configuration cache can get in the way of new modules appearing right away. Turning on development mode could also help by disabling some layers of caching.2.) I generally advice against making changes to application.config.php -- you should be able to use the VUFIND_LOCAL_MODULES environment variable in
$VUFIND_LOCAL_DIR/httpd-vufind.confto register local custom modules without editing code.3.) Whi…