Closed Bug 1158376 Opened 10 years ago Closed 10 years ago

index: Auxiliary API that redirects to signed url for artifacts from queue

Categories

(Taskcluster :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonasfj, Assigned: jonasfj)

References

Details

Attachments

(1 file)

(deleted), text/x-github-pull-request
jhford
: review+
Details
It would be nice if we could have end-points like: GET /task/<namespace>/artifacts/<artifactName> It should obviously validate the scopes required by the queue, before doing a signed redirect to the queue. This is mostly for curl/wget clients, that just want to download artifacts based on the namespace tasks are indexed under...
Blocks: 1132151
Assignee: nobody → jopsen
Attached file Github PR (deleted) —
Will require that: A) artifact name starts with "public/", or B) that you have the scope "queue:get-artifact:<name>" In case of (A) it'll redirect to an unsigned URL for the queue artifact. In case of (B) it'll redirect to a signed URL for the queue.
Attachment #8606400 - Flags: review?(jhford)
Comment on attachment 8606400 [details] Github PR looks good to me
Attachment #8606400 - Flags: review?(jhford) → review+
This is now deployed :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: TaskCluster → General
Product: Testing → Taskcluster
Target Milestone: --- → mozilla41
Version: unspecified → Trunk
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
No longer blocks: 1132151
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: