Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add presigned download url #137

Closed
wants to merge 2 commits into from
Closed

Conversation

machacekondra
Copy link
Collaborator

On hold until we are back on single source model.

Signed-off-by: Ondra Machacek <[email protected]>
@app-sre-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@machacekondra machacekondra changed the title Add presigned urls download Add presigned download url Feb 3, 2025
@@ -189,6 +189,51 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/image/{id}/image-url:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as per what we've discussed this will be under source:
maybe api/v1/source/{id}/image-url

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right!

@@ -8,6 +8,51 @@ info:
servers:
- url: /
paths:
/api/v1/image/bytoken/{token}:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this api is protected. How do you intend to pass the authentication with a curl?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will be forwarded via cloud.rh.com/....

This commit changes the model from multi-source to single-source (i.e
one source - one agent).

Signed-off-by: Cosmin Tupangiu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants