Unsolved
This post is more than 5 years old
56 Posts
0
3617
Namespace Interface Qs
Do I have to URL encode the namespace endpoint in the signature?
For example,
/rest/namespace/Test%20Directory/
for a space between test and directory?
How about using other "reserved characters" like $, %, & and +. E.g. add a folder called $Vol.
Update:
One more question related to this note in the REST API guide:
NOTE: Directly under the / directory, you can create only directories, not files.
I have been able to create a file here: /rest/namespace/FILE.DIF Isn't that the / directory?
rbala1
222 Posts
1
October 14th, 2009 11:00
There's an issue with special characters and spaces at the moment.
In regards to spaces, it's fixed in trunk but not deployed yet to Atmos Online.
I need to find more information on the issue with special characters like $, etc.
JasonCwik
281 Posts
1
October 14th, 2009 20:00
Adam,
Yes, you can actually create files under the root (/), but it's discouraged since you can't list the contents of the root folder.
aashishpatil
212 Posts
0
October 31st, 2009 15:00
Since the root (/) is not listable, how does one get the list of namespaces under '/'?
Thanks,
Aashish
Navneeth1
29 Posts
0
November 4th, 2009 11:00
aashishpatil
212 Posts
0
November 6th, 2009 14:00
I was able to list namespaces under '/' by using EsuApi.listDirectories(new ObjectPath("/")).
The issue turned out to be something else - /;
Thanks,
Aashish