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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -