新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

コメント

4件のコメント

  • 正式なコメント
    Kourtney

    Hey Steve, 

    I'm not sure off the top of my head what the answer is, but am looking into it! Will follow up soon :) 

    Best, 

    Kourtney

    コメントアクション Permalink
  • Steve Smith

    Was using UTC timezone with the python SDK. Using America/Los Angeles tz as suggested in the sdk documentation worked with even 5 seconds

    0
    コメントアクション Permalink
  • Kourtney

    Good Morning Steve, 

    I confirmed with our engineering team that the minimum can technically be the current time, which of course is not recommended. If I've understood correctly, you're able to set a shorter value via the python sdk than you are able to hitting the endpoint directly? 

    Best, 

    Kourtney

     

    0
    コメントアクション Permalink
  • Steve Smith

    I didn't try hitting the endpoint directly. Was just using the python SDK wrongly. After reading through the documentation on the python SDK for the API was able to resolve my issue by using America/Los Angeles timezone instead of UTC when setting the expiration date on the shared link.

     

    Thanks Kourtney.

    0
    コメントアクション Permalink

サインインしてコメントを残してください。