in another software it's possible to use:
p?ap_id@server
c?conf@server
u?user@server
where this local links will be added to URI ending with trailing /
i.e.
https://engine.tld/application/objtype/NNNNNID/
will be completed with
https://localserver.tld/applicationname/objtype/NNNNNID/p?ap_id@remoteserver.tld
https://localserver.tld/applicationname/objtype/NNNNNID/c?conf@remoteserver.tld
https://localserver.tld/applicationname/objtype/NNNNNID/u?user@remoteserver.tld
This way the local links will allow to setup redirects to any type of objects. (and without special syntax and special parsing)
and distinguish them with regular expressions at reverse proxy...