Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

added /api/info/:id route #739

Merged
merged 1 commit into from
Jan 31, 2018
Merged

added /api/info/:id route #739

merged 1 commit into from
Jan 31, 2018

Conversation

dannycoates
Copy link
Contributor

@dannycoates dannycoates commented Jan 30, 2018

This removes the dtotal and dlimit from /api/metadata since the downloader doesn't need (and probably shouldn't have) them. It also allows us to remove the authKey from the sender's local storage.

fixes #738

@ehuggett
Copy link
Contributor

since the downloader doesn't need (and probably shouldn't have)

does this mean there will be no way to warn a user (downloader) that this is the last download before the file is deleted? a boolean for 2 or more remaining downloads would probably be sufficient for the downloader

@dannycoates
Copy link
Contributor Author

does this mean there will be no way to warn a user (downloader) that this is the last download before the file is deleted?

As is, this would do that. A boolean finalDownload or something seems ok though.

@dannycoates dannycoates changed the title added /api/file/:id route added /api/info/:id route Jan 30, 2018
@dannycoates
Copy link
Contributor Author

dannycoates commented Jan 31, 2018

I added finalDownload to the /api/metadata response. It isn't transactional of course...

@dannycoates dannycoates merged commit a74a70f into master Jan 31, 2018
@dannycoates dannycoates deleted the fileInfo branch February 25, 2018 21:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split sender and receiver metadata
2 participants