Gmail API's history.list endpoint gives inaccurate data -


i'm seeing history list endpoint return incorrect data. when add label, history api endpoint returns "labelsremoved" , in fact returns incorrect label id. strangely, information under payload['labelsremoved']['message']['labelids'] correct.

should ignore "labelsadded" , "labelsremoved" fields , use "messages" field instead?

users.history: list have various properties per resource. labelsadded , labelsremoved lists if labels added/removed message. main property messages still contain messages of history record.

list of messages changed in history record. fields specific change types, such messagesadded may duplicate messages in field. recommend using specific change-type fields instead of this.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -