Skip to content

Instantly share code, notes, and snippets.

@dbrant
Last active August 22, 2018 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrant/4f4fd6b9e5f1a521a902092bb3c24e7a to your computer and use it in GitHub Desktop.
Save dbrant/4f4fd6b9e5f1a521a902092bb3c24e7a to your computer and use it in GitHub Desktop.
Echo API response
{
"batchcomplete": "",
"query": {
"notifications": {
"list": [
{
"wiki": "enwiki",
"id": "73770596",
"type": "edit-user-talk",
"category": "edit-user-talk",
"timestamp": {
"utciso8601": "2016-02-27T00:12:41Z",
"utcunix": "1456531961",
"unix": "1456531961",
"utcmw": "20160227001241",
"mw": "20160227001241",
"date": "27 February"
},
"title": {
"full": "User talk:Dbrant testing",
"namespace": "User_talk",
"namespace-key": 3,
"text": "Dbrant testing"
},
"agent": {
"id": 20181147,
"name": "MediaWiki message delivery"
},
"revid": 707125986,
"read": "20160509141847",
"targetpages": [],
"*": {
"header": "\u202aMediaWiki message de...\u202c left a message on <strong>your talk page</strong>.",
"compactHeader": "\u202aMediaWiki message de...\u202c left you a message.",
"body": "",
"icon": "edit-user-talk",
"links": {
"primary": {
"url": "https://en.wikipedia.org/wiki/User_talk:Dbrant_testing?markasread=73770596",
"label": "View message"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/User:MediaWiki_message_delivery",
"label": "\u202aMediaWiki messa...\u202c",
"tooltip": "MediaWiki message delivery",
"description": "",
"icon": "userAvatar",
"prioritized": ""
},
{
"url": "https://en.wikipedia.org/w/index.php?title=User_talk:Dbrant_testing&oldid=prev&diff=707125986",
"label": "View changes",
"description": "",
"icon": "changes",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/Echo/modules/icons/edit-user-talk-progressive.svg"
}
},
{
"wiki": "enwiki",
"id": "87149312",
"type": "edit-user-talk",
"category": "edit-user-talk",
"timestamp": {
"utciso8601": "2016-09-04T02:35:52Z",
"utcunix": "1472956552",
"unix": "1472956552",
"utcmw": "20160904023552",
"mw": "20160904023552",
"date": "4 September"
},
"title": {
"full": "User talk:Dbrant testing",
"namespace": "User_talk",
"namespace-key": 3,
"text": "Dbrant testing"
},
"agent": {
"id": 156068,
"name": "Dmitry Brant"
},
"revid": 737629758,
"read": "20170105211808",
"targetpages": [],
"*": {
"header": "\u202aDmitry Brant\u202c left a message on <strong>your talk page</strong> in \"<strong>\u202aHello\u202c</strong>\".",
"compactHeader": "\u202aDmitry Brant\u202c left you a message in \"<strong>\u202aHello\u202c</strong>\".",
"body": "Hello, and welcome to Wikipedia!",
"icon": "edit-user-talk",
"links": {
"primary": {
"url": "https://en.wikipedia.org/wiki/User_talk:Dbrant_testing?markasread=87149312#Hello",
"label": "View message"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/User:Dmitry_Brant",
"label": "\u202aDmitry Brant\u202c",
"tooltip": "",
"description": "",
"icon": "userAvatar",
"prioritized": ""
},
{
"url": "https://en.wikipedia.org/w/index.php?title=User_talk:Dbrant_testing&oldid=prev&diff=737629758",
"label": "View changes",
"description": "",
"icon": "changes",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/Echo/modules/icons/edit-user-talk-progressive.svg"
}
},
{
"wiki": "enwiki",
"id": "96457118",
"type": "reverted",
"category": "reverted",
"timestamp": {
"utciso8601": "2017-01-06T00:21:11Z",
"utcunix": "1483662071",
"unix": "1483662071",
"utcmw": "20170106002111",
"mw": "20170106002111",
"date": "6 January"
},
"title": {
"full": "User:Dmitry Brant/sandbox",
"namespace": "User",
"namespace-key": 2,
"text": "Dmitry Brant/sandbox"
},
"agent": {
"id": 21198091,
"name": "DBrant (WMF)"
},
"revid": 758529472,
"read": "20180816214442",
"targetpages": [],
"*": {
"header": "Your edit on <strong>\u202aUser:Dmitry Brant/sandbox\u202c</strong> was reverted.",
"compactHeader": "Your edit on <strong>\u202aUser:Dmitry Brant/sandbox\u202c</strong> was reverted.",
"body": "",
"icon": "revert",
"links": {
"primary": {
"url": "https://en.wikipedia.org/w/index.php?title=User:Dmitry_Brant/sandbox&oldid=prev&diff=758529472&markasread=96457118",
"label": "View changes"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/User:DBrant_(WMF)",
"label": "\u202aDBrant (WMF)\u202c",
"tooltip": "",
"description": "",
"icon": "userAvatar",
"prioritized": ""
},
{
"url": "https://en.wikipedia.org/wiki/User_talk:Dmitry_Brant/sandbox",
"label": "\u202aDmitry Brant/sa...\u202c",
"tooltip": "User talk:Dmitry Brant/sandbox",
"description": null,
"icon": "userSpeechBubble",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/Echo/modules/icons/revert.svg"
}
},
{
"wiki": "enwiki",
"id": "100376351",
"type": "thank-you-edit",
"category": "system",
"timestamp": {
"utciso8601": "2017-02-24T14:45:44Z",
"utcunix": "1487947544",
"unix": "1487947544",
"utcmw": "20170224144544",
"mw": "20170224144544",
"date": "24 February"
},
"title": {
"full": "User:Dmitry Brant/sandbox",
"namespace": "User",
"namespace-key": 2,
"text": "Dmitry Brant/sandbox"
},
"agent": {
"id": 27324044,
"name": "Dbrant testing"
},
"read": "20180106163258",
"targetpages": [],
"*": {
"header": "You just made your tenth edit; thank you, and please keep going!",
"compactHeader": "You just made your tenth edit; thank you, and please keep going!",
"body": "",
"icon": "edit",
"links": {
"primary": {
"url": "https://en.wikipedia.org/wiki/User:Dmitry_Brant/sandbox?markasread=100376351",
"label": "Your edit"
},
"secondary": []
},
"iconUrl": "/w/extensions/Echo/modules/icons/edit-progressive.svg"
}
},
{
"wiki": "enwiki",
"id": "135912774",
"type": "login-fail-new",
"category": "login-fail",
"timestamp": {
"utciso8601": "2018-05-04T00:47:35Z",
"utcunix": "1525394855",
"unix": "1525394855",
"utcmw": "20180504004735",
"mw": "20180504004735",
"date": "4 May"
},
"agent": {
"id": 27324044,
"name": "Dbrant testing"
},
"targetpages": [],
"*": {
"header": "There has been <b>a failed attempt</b> to log in to your account from a new device. Please make sure your account has a strong password.",
"compactHeader": "There has been <b>a failed attempt</b> to log in to your account from a new device. Please make sure your account has a strong password.",
"body": "",
"icon": "LoginNotify-user-avatar",
"links": {
"primary": {
"url": "https://mediawiki.org/wiki/Help:Login_notifications?markasread=135912774",
"label": "Help"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/Special:ChangePassword",
"label": "Change password",
"description": "",
"icon": "lock",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/LoginNotify/UserAvatar.svg"
}
},
{
"wiki": "enwiki",
"id": "136510666",
"type": "login-fail-known",
"category": "login-fail",
"timestamp": {
"utciso8601": "2018-05-10T22:53:31Z",
"utcunix": "1525992811",
"unix": "1525992811",
"utcmw": "20180510225331",
"mw": "20180510225331",
"date": "10 May"
},
"agent": {
"id": 27324044,
"name": "Dbrant testing"
},
"targetpages": [],
"*": {
"header": "There have been <b>5 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"compactHeader": "There have been <b>5 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"body": "",
"icon": "LoginNotify-user-avatar",
"links": {
"primary": {
"url": "https://mediawiki.org/wiki/Help:Login_notifications?markasread=136510666",
"label": "Help"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/Special:ChangePassword",
"label": "Change password",
"description": "",
"icon": "lock",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/LoginNotify/UserAvatar.svg"
}
},
{
"wiki": "afwiki",
"id": "514050",
"type": "edit-user-talk",
"category": "edit-user-talk",
"timestamp": {
"utciso8601": "2018-05-14T17:23:09Z",
"utcunix": "1526318589",
"unix": "1526318589",
"utcmw": "20180514172309",
"mw": "20180514172309",
"date": "14 Mei"
},
"title": {
"full": "Gebruikerbespreking:Dbrant testing",
"namespace": "Gebruikerbespreking",
"namespace-key": 3,
"text": "Dbrant testing"
},
"agent": {
"id": 89467,
"name": "KabouterBot"
},
"revid": 1669325,
"targetpages": [],
"*": {
"header": "\u202aKabouterBot\u202c left a message on <strong>your talk page</strong> in \"<strong>\u202aWelkom\u202c</strong>\".",
"compactHeader": "\u202aKabouterBot\u202c left you a message in \"<strong>\u202aWelkom\u202c</strong>\".",
"body": "Hallo\u00a0Dbrant testing, hartelik welkom op die Afrikaanse Wikipedia! Dankie vir jou belangstelling in Wikipedia. Ons werk hier aan die ideaal van...",
"icon": "edit-user-talk",
"links": {
"primary": {
"url": "https://af.wikipedia.org/wiki/Gebruikerbespreking:Dbrant_testing?markasread=514050#Welkom",
"label": "Wys boodskap"
},
"secondary": [
{
"url": "https://af.wikipedia.org/wiki/Gebruiker:KabouterBot",
"label": "\u202aKabouterBot\u202c",
"tooltip": "",
"description": "",
"icon": "userAvatar",
"prioritized": ""
},
{
"url": "https://af.wikipedia.org/w/index.php?title=Gebruikerbespreking:Dbrant_testing&oldid=prev&diff=1669325",
"label": "Wys veranderings",
"description": "",
"icon": "changes",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/Echo/modules/icons/edit-user-talk-progressive.svg"
}
},
{
"wiki": "arzwiki",
"id": "181911",
"type": "edit-user-talk",
"category": "edit-user-talk",
"timestamp": {
"utciso8601": "2018-05-24T13:35:50Z",
"utcunix": "1527168950",
"unix": "1527168950",
"utcmw": "20180524133550",
"mw": "20180524133550",
"date": "24 \u0645\u0627\u064a\u0648"
},
"title": {
"full": "\u0646\u0642\u0627\u0634 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645:Dbrant testing",
"namespace": "\u0646\u0642\u0627\u0634_\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645",
"namespace-key": 3,
"text": "Dbrant testing"
},
"agent": {
"id": 172,
"name": "MenoBot"
},
"revid": 808592,
"targetpages": [],
"*": {
"header": "\u0628\u0639\u062b \u202aMenoBot\u202c \u0631\u0633\u0627\u0644\u0629\u064b \u0625\u0644\u064a\u0643 \u0641\u064a <strong>\u0635\u0641\u062d\u0629 \u0646\u0642\u0627\u0634\u0643</strong>.",
"compactHeader": "\u202aMenoBot\u202c \u062a\u0631\u0643 \u0644\u0643 \u0631\u0633\u0627\u0644\u0629.",
"body": "",
"icon": "edit-user-talk",
"links": {
"primary": {
"url": "https://arz.wikipedia.org/wiki/%D9%86%D9%82%D8%A7%D8%B4_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Dbrant_testing?markasread=181911",
"label": "\u0627\u0639\u0631\u0636 \u0627\u0644\u0631\u0633\u0627\u0644\u0629"
},
"secondary": [
{
"url": "https://arz.wikipedia.org/wiki/%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:MenoBot",
"label": "\u202aMenoBot\u202c",
"tooltip": "",
"description": "",
"icon": "userAvatar",
"prioritized": ""
},
{
"url": "https://arz.wikipedia.org/w/index.php?title=%D9%86%D9%82%D8%A7%D8%B4_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Dbrant_testing&oldid=prev&diff=808592",
"label": "\u0627\u0639\u0631\u0636 \u0627\u0644\u062a\u0639\u062f\u064a\u0644\u0627\u062a",
"description": "",
"icon": "changes",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/Echo/modules/icons/edit-user-talk-progressive.svg"
}
},
{
"wiki": "enwiki",
"id": "137506334",
"type": "login-fail-known",
"category": "login-fail",
"timestamp": {
"utciso8601": "2018-05-24T17:19:17Z",
"utcunix": "1527182357",
"unix": "1527182357",
"utcmw": "20180524171917",
"mw": "20180524171917",
"date": "24 May"
},
"agent": {
"id": 27324044,
"name": "Dbrant testing"
},
"targetpages": [],
"*": {
"header": "There have been <b>5 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"compactHeader": "There have been <b>5 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"body": "",
"icon": "LoginNotify-user-avatar",
"links": {
"primary": {
"url": "https://mediawiki.org/wiki/Help:Login_notifications?markasread=137506334",
"label": "Help"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/Special:ChangePassword",
"label": "Change password",
"description": "",
"icon": "lock",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/LoginNotify/UserAvatar.svg"
}
},
{
"wiki": "enwiki",
"id": "137508051",
"type": "login-fail-known",
"category": "login-fail",
"timestamp": {
"utciso8601": "2018-05-24T17:39:43Z",
"utcunix": "1527183583",
"unix": "1527183583",
"utcmw": "20180524173943",
"mw": "20180524173943",
"date": "24 May"
},
"agent": {
"id": 27324044,
"name": "Dbrant testing"
},
"read": "20180821212519",
"targetpages": [],
"*": {
"header": "There have been <b>5 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"compactHeader": "There have been <b>5 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"body": "",
"icon": "LoginNotify-user-avatar",
"links": {
"primary": {
"url": "https://mediawiki.org/wiki/Help:Login_notifications?markasread=137508051",
"label": "Help"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/Special:ChangePassword",
"label": "Change password",
"description": "",
"icon": "lock",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/LoginNotify/UserAvatar.svg"
}
},
{
"wiki": "enwiki",
"id": "137508545",
"type": "login-fail-known",
"category": "login-fail",
"timestamp": {
"utciso8601": "2018-05-24T17:44:56Z",
"utcunix": "1527183896",
"unix": "1527183896",
"utcmw": "20180524174456",
"mw": "20180524174456",
"date": "24 May"
},
"agent": {
"id": 27324044,
"name": "Dbrant testing"
},
"read": "20180821212110",
"targetpages": [],
"*": {
"header": "There have been <b>10 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"compactHeader": "There have been <b>10 failed attempts</b> to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
"body": "",
"icon": "LoginNotify-user-avatar",
"links": {
"primary": {
"url": "https://mediawiki.org/wiki/Help:Login_notifications?markasread=137508545",
"label": "Help"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/Special:ChangePassword",
"label": "Change password",
"description": "",
"icon": "lock",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/LoginNotify/UserAvatar.svg"
}
},
{
"wiki": "enwiki",
"id": "143139328",
"type": "login-success",
"category": "login-success",
"timestamp": {
"utciso8601": "2018-08-13T19:28:41Z",
"utcunix": "1534188521",
"unix": "1534188521",
"utcmw": "20180813192841",
"mw": "20180813192841",
"date": "13 August"
},
"agent": {
"id": 27324044,
"name": "Dbrant testing"
},
"read": "20180821212043",
"targetpages": [],
"*": {
"header": "Someone (probably you) recently logged in to your account from a new device. If this was you, then you can disregard this message. If it wasn't you, then it's recommended that you change your password, and check your account activity.",
"compactHeader": "Someone (probably you) recently logged in to your account from a new device. If this was you, then you can disregard this message. If it wasn't you, then it's recommended that you change your password, and check your account activity.",
"body": "",
"icon": "LoginNotify-user-avatar",
"links": {
"primary": {
"url": "https://mediawiki.org/wiki/Help:Login_notifications?markasread=143139328",
"label": "Help"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/Special:ChangePassword",
"label": "Change password",
"description": "",
"icon": "lock",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/LoginNotify/UserAvatar.svg"
}
},
{
"wiki": "enwiki",
"id": "143329020",
"type": "edit-thank",
"category": "edit-thank",
"timestamp": {
"utciso8601": "2018-08-16T15:23:10Z",
"utcunix": "1534432990",
"unix": "1534432990",
"utcmw": "20180816152310",
"mw": "20180816152310",
"date": "16 August"
},
"title": {
"full": "User:Dmitry Brant/sandbox",
"namespace": "User",
"namespace-key": 2,
"text": "Dmitry Brant/sandbox"
},
"agent": {
"id": 27960426,
"name": "RHo (WMF)"
},
"revid": 843497631,
"targetpages": [],
"*": {
"header": "\u202aRHo (WMF)\u202c thanked you for your edit on <strong>\u202aUser:Dmitry Brant/sandbox\u202c</strong>.",
"compactHeader": "\u202aRHo (WMF)\u202c thanked you.",
"body": " ",
"icon": "thanks",
"links": {
"primary": {
"url": "https://en.wikipedia.org/w/index.php?title=User:Dmitry_Brant/sandbox&oldid=prev&diff=843497631&markasread=143329020",
"label": "View edit"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/User:RHo_(WMF)",
"label": "\u202aRHo (WMF)\u202c",
"tooltip": "",
"description": "",
"icon": "userAvatar",
"prioritized": ""
},
{
"url": "https://en.wikipedia.org/wiki/User:Dmitry_Brant/sandbox",
"label": "\u202aDmitry Brant/sa...\u202c",
"tooltip": "User:Dmitry Brant/sandbox",
"description": null,
"icon": "article",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/Thanks/userTalk-constructive-ltr.svg"
}
},
{
"wiki": "enwiki",
"id": "143351754",
"type": "edit-thank",
"category": "edit-thank",
"timestamp": {
"utciso8601": "2018-08-16T21:47:35Z",
"utcunix": "1534456055",
"unix": "1534456055",
"utcmw": "20180816214735",
"mw": "20180816214735",
"date": "16 August"
},
"title": {
"full": "User:Dmitry Brant/sandbox",
"namespace": "User",
"namespace-key": 2,
"text": "Dmitry Brant/sandbox"
},
"agent": {
"id": 156068,
"name": "Dmitry Brant"
},
"revid": 848549759,
"read": "20180817160301",
"targetpages": [],
"*": {
"header": "\u202aDmitry Brant\u202c thanked you for your edit on <strong>\u202aUser:Dmitry Brant/sandbox\u202c</strong>.",
"compactHeader": "\u202aDmitry Brant\u202c thanked you.",
"body": " ",
"icon": "thanks",
"links": {
"primary": {
"url": "https://en.wikipedia.org/w/index.php?title=User:Dmitry_Brant/sandbox&oldid=prev&diff=848549759&markasread=143351754",
"label": "View edit"
},
"secondary": [
{
"url": "https://en.wikipedia.org/wiki/User:Dmitry_Brant",
"label": "\u202aDmitry Brant\u202c",
"tooltip": "",
"description": "",
"icon": "userAvatar",
"prioritized": ""
},
{
"url": "https://en.wikipedia.org/wiki/User:Dmitry_Brant/sandbox",
"label": "\u202aDmitry Brant/sa...\u202c",
"tooltip": "User:Dmitry Brant/sandbox",
"description": null,
"icon": "article",
"prioritized": ""
}
]
},
"iconUrl": "/w/extensions/Thanks/userTalk-constructive-ltr.svg"
}
},
{
"wiki": "enwiki",
"id": "143203268",
"type": "welcome",
"category": "system",
"timestamp": {
"utciso8601": "2018-08-14T18:34:05Z",
"utcunix": "1534271645",
"unix": "1534271645",
"utcmw": "20180814183405",
"mw": "20180814183405",
"date": "14 August"
},
"agent": {
"id": 34418724,
"name": "Dbrant2"
},
"read": "20180816201553",
"targetpages": [],
"*": {
"header": "Welcome to Wikipedia, \u202aDbrant2\u202c! We're glad you're here.",
"compactHeader": "Welcome to Wikipedia, \u202aDbrant2\u202c! We're glad you're here.",
"body": "",
"icon": "site",
"links": {
"primary": {
"url": "https://en.wikipedia.org/wiki/Help:Getting_started?markasread=143203268",
"label": "Welcome"
},
"secondary": []
},
"iconUrl": "/static/images/project-logos/notifications/120px-Notification-icon-Wikipedia-logo.svg.png"
}
}
],
"continue": null
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment