Skip to content

BoxItem.getSharedItem() should be able to use a RequestInterceptor #1200

@daviessm

Description

@daviessm

Is your feature request related to a problem? Please describe.

I have a RequestInterceptor that counts API calls per user session, but calling BoxItem.getSharedItem() does not apply the interceptor because it creates its own SharedLinkAPIConnection and does not use the interceptor in the supplied BoxAPIConnection.

Describe the solution you'd like

Either:

  1. BoxItem.getSharedItem() should copy the RequestInterceptor from the supplied BoxAPIConnection, or
  2. A new overloaded function which takes a RequestInterceptor as an additional parameter should be provided.

Describe alternatives you've considered

Currently I have created my own version of getSharedItem() which copies the RequestInterceptor from the supplied API connection.

Metadata

Metadata

Labels

dontstaleMark issues not to be removed by stalebotenhancementAdded to issues that describes enhancements

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions