Closed Band-Aid closed 1 year ago
Thanks! Though I am getting an error trying to create a shared link, I was trying to create link but I get the following error. Am I doing something wrong here?
% box files:shared-links:create 123456 --access:open
Unexpected argument: --access:open
Please try that way:
box files:shared-links:create 123456 --access open
as param values we should pass after a space or a =
sign
Ah, thanks for pointing that out... I must be tired. Your docs clearly state to use =
.
--access=access
Thanks again!
Description of the Issue
I am trying to get the direct download URL using Box CLi This is possible using Box Rest API but I did not see any options with the CLI.
Steps to Reproduce
Rest API for shared links provides the download URL https://developer.box.com/reference/get-files-id--get-shared-link/
Expected Behavior
As a content manager I would like to be able to get direct download urls to embed them in my portal
Versions Used
Box CLI: @box/cli/3.5.0 darwin-x64 node-v14.19.3 Operating System: macos 13