Get resource current storage

Hello,

Is there a way to find out the storage currently in use for a resource ? (if it’s file-system or object-storage).
My need would be to migrate instances that are not already stored on an azure blob.
We could imagine an api query like :

$ curl -X GET http://localhost:8042/get-storage
–data ‘{
“Resources”: [“27f7126f-4f66fb14-03f4081b-f9341db2-53925988”]
}’

I haven’t found any information on API documentation in terms of metadata.
Thanks in advance.

Chris.

Hi Chris,

That’s a topic that is already in our TODO.

However, in 2.3.0 release notes, I see this:

2023-10-17 - v 2.3.0
====================
* in /move-storage: now detecting if file should be moved or not.

So, it should not harm to call /move-storage if the file is already in the blob.

HTH,

Alain