When using the Google Drive Comments API, I can pull in the comments on a specific file, but I'd like to also see the text that the comment is associated with. My understanding is that this is the anchor
field in the response
According to the anchor docs (very light on documentation), the anchor should include a revision ID, plus a beginning and end to the anchor text, and look like this
'r': revisionId,
'a': [
{
'line':
{
'n': 12,
'l': 3,
}
},
{
'line':
{
'n': 18,
'l': 1,
}
}]
}
However, when I pull the comments in, my anchor looks like this
{
...
"anchor": "kix.fkuox8etb960",
...
}
Does anyone know how to use this interesting looking ID to get to the structure shown in the documents? Thanks