Avoid addition of WRM context-path when using REST API

Description

Context

Currently, after the change done at . The dependencies of WRM API are being added when performing calls to WRM API, since they use the same code for searching the resources. So, when calling WRM via REST API, we should avoid adding WRM JS API, since it was already added by server-side rendering part.

Environment

None
Fixed

Assignee

William Custodio

Reporter

William Custodio