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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -