I want to enable multi-user multiple APIs upload, how should I configure app / loader.php correctly?In software development is normal to encounter bugs, wrong documentation, performance issues, incompatible resources, etc. I'm sorry if I wasn't clear about this in the beginning, of course that I noted that the issue here is that
loader.phphas some conditionals targeting
/apiand that's why any API in a different path won't work as expected. In certain conditions, the custom APIs won't work and that was caused by the changes introduced later on to that file so the documentation was outdated.
I've fixed the documentation and I've also indicate this caveat for those that want to run multiple APIs for Chevereto V3.
A self-exposed REST user-based API is the main new feature in Chevereto V4 and I've working in this new major version for about one year already. This API is absolutely superior and it won't need any coding at your end. I strongly believe that custom coding for basic stuff only adds trouble so my main focus is right there.
Hope you understand my weird workflow and sorry for any headache you had because of this.