Using BaseServerAddon to modify api endpoints

Hello,

I just wonder if the class BaseServerAddon would be some thing that can override existing api expoint such as /api/users/[USERNAME]/avatar.

There’s some code here that uses BaseServerAddon.add_endpoint but I’m not 100% sure how it works and whether it can override existing api calls.

What is the best way to override behaviours defined in ayon-backend (such as ayon-backend\api\users\users.py) using addons?

Regards,
Tu

First off, why would you want to override it?

Hullo, I was investigating on if there is a way to use plugin to integrate LDAP to AYON.

Hello tanh

There is already an Addon for that, as described here :

1 Like