I'm relatively new to working with the REST API back end and documentation does not seem to cover my issue. I am trying to figure out what uri I would use to access and item that has a space in it.
EXAMPLE:
I have a sub folder in my inbox call "test", and a second folder called "test 1"
I can access the inbox and get data, or the test folder with the two calls respectively:
Code: Select all
https://mymail.***.com/home/seth.stenzel/inbox?fmt=json&auth=sc&query=is:unread
https://mymail.***.com/home/seth.stenzel/inbox/test?fmt=json&auth=sc&query=is:unread
EXAMPLE:
Code: Select all
https://mymail.***.com/home/seth.stenzel/inbox/test_1?fmt=json&auth=sc&query=is:unread
https://mymail.***.com/home/seth.stenzel/inbox/test+1?fmt=json&auth=sc&query=is:unread
https://mymail.***.com/home/seth.stenzel/inbox/test%201?fmt=json&auth=sc&query=is:unread
Any assistance would be greatly appreciated. Everything else is working save for that and its going to look silly to tell my boss, "We can run stats that inbox we just can't have a sub folder with a space in the name.
Thank you all!
~Seth S.