Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

urldownload API endpoint? #679

Open
xxdesmus opened this issue Jul 5, 2018 · 4 comments
Open

urldownload API endpoint? #679

xxdesmus opened this issue Jul 5, 2018 · 4 comments
Labels
api To do with the API server help wanted This is something we need some help with improvement

Comments

@xxdesmus
Copy link

xxdesmus commented Jul 5, 2018

I might just be missing something obvious, but it doesn't look like there's an API endpoint for uploading data via a URL, only via a local file. In the web UI there's a call to urldownload -- but I don't see anything in the document or code about a corresponding API endpoint. Any tips?

@frennkie
Copy link
Contributor

frennkie commented Jul 5, 2018 via email

@frennkie
Copy link
Contributor

frennkie commented Jul 5, 2018

Although I didn't initially think this is needed.. When you are calling the API endpoint you are working programmatically already... So you could simply download the file before calling the API in your client...

@xxdesmus
Copy link
Author

xxdesmus commented Jul 5, 2018

You'd be terrified if you saw any code I worked on. Unfortunately I'm nowhere near competent enough to do the PR.

In terms of use case: yeah, I'm just attempting to avoid downloading every file just to then save it into Viper to then delete the original file -- vs. just pulling it from the URL directly into Viper.

@frennkie frennkie added help wanted This is something we need some help with api To do with the API server improvement labels Oct 21, 2018
@frennkie
Copy link
Contributor

@xxdesmus Feel free to work on this - I'll be happy to review it. If you need any pointers let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api To do with the API server help wanted This is something we need some help with improvement
Projects
None yet
Development

No branches or pull requests

2 participants