I'm having trouble getting lists through the REST API.
I receive an error (the list does not exist) with those libraries named with more than 1 word. For example, I can't get "Site Assets." My sharepoint is in Spanish, so the titles when I call
/_api/web/lists they are in spanish
getbytitle('Activos del sitio') //Spanish Name getbytitle('Site Assets')
I tried replacing the spaces with% 20 and x0020:
getbytitle('Activos%20del%20sitio') //Spanish Name getbytitle('Site%20Assets') getbytitle('Activos_x0020_del_x0020_sitio') //Spanish Name getbytitle('Site_x0020_Assets')
Tested with RootFolder.Name
encodeURIComponent() with the name of the list
Nothing works. I'm getting mad at that!