Content-manager api middleware

I need to create middleware for /content-manager/uid/check-availability api. Is that possible somehow instead global middleware?

This topic has been created from a Discord post (1220373481028587641) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord