API changes to accommodate 3rd party clients
This commit is contained in:
parent
0f8c3caf18
commit
ff9a107a29
2 changed files with 7 additions and 2 deletions
|
@ -29,6 +29,8 @@ module.exports = async function(req, res) {
|
|||
const ttl = await storage.ttl(id);
|
||||
res.send({
|
||||
metadata: meta.metadata,
|
||||
dtotal: meta.dl,
|
||||
dlimit: meta.dlimit,
|
||||
size,
|
||||
ttl
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue