Skip to main content
Question

Anyone know how to use the API download function?

  • September 20, 2024
  • 4 replies
  • 37 views

Forum|alt.badge.img+1

I created a subclient in my file server and backed up a file (C:\test\test.txt). I then attempted to use API to download the backed up file but the server always returned 404. Anyone knows how to use the API?

The request i made is like this:
https://api.metallic.io/stream/action/download?appid=<subclientid>&path=C%3a%5ctest%5ctest.txt

 

Thank you in advance.

4 replies

Forum|alt.badge.img+15

Hello @VincentWong 


I think the following goes over all of it: 
https://documentation.commvault.com/11.20/rest_api_sample_scenario_restore.html

Kind regards

Albert Williams


Forum|alt.badge.img+1
  • Author
  • Bit
  • 2 replies
  • September 23, 2024

Hi @Albert Williams 

Thanks for your reply. but the lnk shared is for in/out place restore. However, i just want to download the file from using the API to the calling machine. Do you know if this API works?

https://api.commvault.com/docs/SP34/api/cv/FileOperations/download-a-file/#download-a-file

 

Regards,

Vincent

 


Forum|alt.badge.img+15

Hello @VincentWong 


That would be an out of place restore to the machine reading the data. 

 

Kind regards

Albert Williams


Forum|alt.badge.img+1
  • Author
  • Bit
  • 2 replies
  • September 24, 2024

Hi @Albert Williams 

The out of place restore requires restoring to another client machine but i want to just download it from a non-client machine.

Regards,

Vincent


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings