#Get Document Function returns Response like List Documents

7 messages · Page 1 of 1 (latest)

near jetty
#

Hi, I was using the databases.getDocument but the response i got was like {total: 1, documents: [{}]}. Its like calling the list document function. While checking the docs and from what i have tested earlier, i should be getting just a document object.

Any Idea why this is happening?

#

It seems like if i provide the document id as a blank text, example: " ", it would return the response like a list documents would

#

In the docs it says the document id is required, but providing it with an empty sting value returns data....

twilit horizon
near jetty
twilit horizon
near jetty