Skip to content

API for listing file IDs using only a download token #1555

@multimeric

Description

@multimeric

I'm trying to automate the download process using the API. The issue is that, if you have a download URL such as /?s=download&token=2d335494-b624-5942-a152-a5579eeccff2, there is no way to programatically list all of the files that are available.

Once you have the list of file IDs, you can easily use /download.php?token=2d335494-b624-5942-a152-a5579eeccff2&files_ids=ABC,DEF,GHI to download the files programmatically.

Therefore, it would be great if there were a REST API that did this. The authentication should be similar to download.php in that it doesn't require authentication but does require a download token. The endpoint would simply return a JSON list of file IDs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions