Track private message visit via API


(cpk) #1

Is there a way to tell a message that is has been visited by the api_username from the API? I am mimicking the web GET request like so:


Headers are:

var req = {
    headers: {
        'Accept':'application/json, text/javascript, */*',
        'Content-Type' : 'application/json',
        'Discourse-Track-View' : true

Getting a 200 and JSON just fine, but the visit to the message is not being tracked. Any insight would be a huge help. Thanks!

(cpk) #2

Would anyone know a way to do this?