The fact that there’s a
local/ prefix is purely an internal implementation detail; it has nothing to do with the API.
putLocalDocument even though the document doesn’t exist yet; it will be created.
(Also, I’m not sure what you’re using this for; most apps don’t need to use local docs. They’re just for storing some state in the database that won’t be replicated. We’re removing this feature in 2.0 because it’s rarely used and complicates the API.)