Greg_Jewett
Aug 13, 2018Cirrus
Directory Paths and REST API
According to the documentation:
To download the file, use the GET method and specify the /tm/asm/file-transfer/downloads endpoint, along with the name of the exported file. You must specify the name of the file in the request.
I have done this and I get:
File does not exist or file path is not a file: /ts/var/rest/restacct~localhost_2018-08-13_150134.ucs
Using the command line, I located the file, it is found in "/var/local/ucs". How do I specify a directory in the URL?
I tried: /tm/asm/file-transfer/downloads/var/local/ucs/localhost_2018-08-13_151831.ucs
That did not work. Produced the error:
URI path /tm/asm/file-transfer/downloads/var/local/ucs/localhost_2018-08-13_151831.ucs not registered.
Thanks!