Fix FileRequest url format by mwwoda · Pull Request #906 · box/box-java-sdk

This is breaking change from the SDK perspective, but according to service owners this change was done prior to the release. So technically, we could probably slide it off as a bugfix (incorrect model mapping), but if we don't want to break existing customers we could try to take the approach you proposed and build a full URL there.

  • I don't think we have a possibility to get the first part of the URL from the Box API.
  • I don't see any property that could be inferred from BoxFolder.
  • We could use a config parameter, but we should add a new one as we don't have one for https://app.box.com used here. We should also make it configurable. According to the workflow team - the base URL can differ (different subdomains for enterprises for different customers). Maybe we can expose two properties here? Existing one with full URL and new one, only with path in case client needs to build their url differently at runtime.