box / box/box-salesforce-sdk

Not setting "attributes" parameter in body for UPLOAD file request

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Apex
Stars
61
Forks
51
PR merge metrics
No merged PRs in 30d

Description

In the upload request documentation https://developer.box.com/reference/post-files-content/ of box we describe various parameters to be set in request, which is entirely different from what we are doing in upload request part of this SDK.

For example we dont set "attributes" parameter in the body or there is no query parameter like "parent_id" in documentation which we do set in upload url in this SDK.

Whats the reason for such differences, are we using some older version here ?

Will this SDK still work?

Contributor guide

Open the contributing guide

Research direction

Start by comparing the SDK's upload request implementation with the Box upload documentation at https://developer.box.com/reference/post-files-content/. Check how the attributes body parameter and parent_id URL parameter are handled. Done requires determining whether the differences are intentional, tied to an older API version, or prevent the SDK from working, then documenting the finding or identifying the needed change.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.