Get the labels (names) of pinned hashes by ipfs-http-client from local node

I’m making a simple web UI that displays the information like the IPFS Desktop. I managed to get all the pinned files from my node. But how do I get this information (image)?
image
Thanks!

1 Like

IPFS Desktop is using MFS for that interface, which is similar to pinning. A notable difference is you can track the names of your MFS items through the Mutable FileSystem, where pins don’t actually contain human-readable names in the same way.

MFS can be accessed via the HTTP API too by using the Files API.

Thanks mate. I’ll give it a try

1 Like