Hi Arthy,
I had a look into this yesterday. For the first post, I have logged this issue:
* File array is only returned by the API if a transfer is sent to Backlog:
For your second question, I can set the query string parameter as follows:
http -v --pretty=format \
Authorization:"ApiKey test:test"
The query is done using httpie.
The version of the Storage Service is 0.x which will soon be 0.13. And the
endpoint is v1. If I use a v2 endpoint I just need to base encode the string
to the location in the storage service as base64:
http -v --pretty=format \
Authorization:"ApiKey test:test"
I can see one of the potential issues with the results you are seeing so have
I think keep in mind that the path you need to browse to needs to be absolute,
so to make this work, I am using:
/var/archivematica/sharedDirectory/www/AIPsStore/{uuid-part}/{uuid-part}/etc.
This aligns with what I'm seeing in the Storage Service for that location:
If you see ways that these endpoints can be improved, or recognize a need for
an alternative, feel free to post on the GitHub issues repository. We can begin
a conversation about what that looks like in there.
I hope this helps!
Ross