Read assigned/used storage at user level?

RR600

Verified User
Joined
Dec 26, 2019
Messages
60
I would like to expose this info the the user at app level, a simple visualization of how much space have they consumed and have available.
I wonder if this would be possible and from where can I read this data from.
Thanks in advance.
 
I wonder if this would be possible and from where can I read this data from.
It's present already by default. But the place might differ from which Evo them you're using.
My customers are using "icon grid" but normally in all skins and theme's it's visible on the main page of their account often on the right side.

This is how it looks in a customer account with icon grid theme:
1753402208770.png
 
It's present already by default. But the place might differ from which Evo them you're using.
My customers are using "icon grid" but normally in all skins and theme's it's visible on the main page of their account often on the right side.

This is how it looks in a customer account with icon grid theme:
View attachment 9170

Thanks but this is not what I meant, as I said, I would like to add it programmatically at app level, my customer doesn't have access to DA.
 
at app level, my customer doesn't have access to DA.
I don't know what you mean by app level. Self created app? I guess best way is via api call then.
Something like CMD_API_SHOW_USER_USAGE for example.

You might want to check this and search for usage then you will find it: https://docs.directadmin.com/developer/api/legacy-api.html
However, it says "legacy" there.
So they might be changing things, I'm not sure, never use that.
 
Back
Top