Search Unity

How to set default share link expiration time?

Discussion in 'Unity Build Automation' started by allan-oooh, Oct 29, 2020.

  1. allan-oooh

    allan-oooh

    Joined:
    Mar 29, 2019
    Posts:
    53
    From the release notes thread I see that share links now expire in 2 weeks:

    The only way I've found to modify the share link expiration is via an API call: https://build-api.cloud.unity3d.com...ets--buildtargetid--builds--number--share-put after the build has been generated.

    Is it possible to control the default share link expire period? either at an organization level, project level or build configuration level?

    Thanks
     
    AdminOh and henriqueranj like this.
  2. AdminOh

    AdminOh

    Joined:
    Feb 11, 2016
    Posts:
    23
    It would indeed be nice to be able to set the expiration period. As you said, either organization or project level would be fine.
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
    also looking for easier way to set share link expiration time.. default 2 weeks is way too short.

    *using that API, can set expiration, but need to parse build number first..
    and seems like you cannot set the expiration, until build is finished!?
     
    Last edited: Dec 8, 2021
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,438
    got reply from support, requested options for longer expiration:
    "It appears that this is on the roadmap of Cloud Build and will be implemented during next year."
     
    henriqueranj and allan-oooh like this.