I’m working with the Google Docs API to retrieve the contents of a document.
Used documents.get with the correct documentId and retrieved the document body. The JSON response does not include the @date in it.
Is there a way to get @date in the JSON response?
{
"startIndex": 1,
"endIndex": 3,
"paragraph": {
"elements": [
{
"startIndex": 1,
"endIndex": 3,
"textRun": {
"content": "\n",
"textStyle": {}
}
}
],
"paragraphStyle": {
"namedStyleType": "NORMAL_TEXT",
"direction": "LEFT_TO_RIGHT"
}
}
}
This is the response that I am getting.
I see that I need to use export feature of google drive to get the doc in pdf or txt to get the date.
I see that I need to use export feature of google drive to get the doc in pdf or txt to get the date.means. TheREST Resource: documentsdoesn't have any@date in itso are you perhaps looking forREST Resource: fileswhich hascreatedTime?