Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
JSON responses inconsistent in terms of uri prefix #1723
When using the API to retrieve an Account the uri fields is inconsistent with the subresource_uris fields as the path they contain starts from a different level.
subresource_uris all start with:
The same applies to Calls API and potentially to all remaining rest apis.
referenced this issue
Jan 16, 2017
@otsakir Looks like the rooturi is also present in Gateways endpoint
All uris should be relative to .../restcomm
@deruelle , @gvagenas any objections here ?
@abdulazizali77 apart from Accounts, Calls, Gateways have you checked other APIs too?
apologies for the late update
Theres few places in the *Convertor classes which call getRequestURI().getPath() which incorrectly return the root uri, we have 3 options to fix this
Ill try put a PR tonight highly likely with option 2a