Add download token and sha to ListRunnerApplicationDownloads#1862
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
| DownloadURL *string `json:"download_url,omitempty"` | ||
| Filename *string `json:"filename,omitempty"` | ||
| TempDownloadToken *string `json:"temp_download_token,omitempty"` | ||
| Sha256Checksum *string `json:"sha256_checksum,omitempty"` |
There was a problem hiding this comment.
To be consistent with the rest of the repo, let's please change this to SHA256Checksum.
|
@googlebot I signed it! |
|
Thank you, @lupine86 ! |
Codecov Report
@@ Coverage Diff @@
## master #1862 +/- ##
=======================================
Coverage 97.65% 97.65%
=======================================
Files 105 105
Lines 6769 6769
=======================================
Hits 6610 6610
Misses 86 86
Partials 73 73
Continue to review full report at Codecov.
|
See #1861
When using Git Hub Enterprise APIs a temp_download_token is included when querying runner downloads via the API.
This PR updates the response structure to include the necessary token and SHA checksum.