Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

nathan

a guest Feb 1st, 2011 708 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. Mark Mail - hacky API
  2.  
  3. mode=json,xml
  4.  
  5. result.xqy - search results
  6.  uses markmail's normal uri syntax, q component is query string url encoded, eg:
  7.   http://markmail.org/results.xqy?q=from:nathan%40webr3.org%20list:org.w3.public-lod&page=1&mode=json&id=
  8.  paging can be found in the results (pages), and swap page param in uri for the page (1,2,3 etc)
  9.  
  10. each item in results has an "id" (message id) and a thread_id  (doh):
  11.   "id":"5wfms7w5opja4a2y","thread_id":"dcue2bsyrsgbzsd5"
  12.  
  13. to get a message:
  14.   http://markmail.org/message.xqy?id=5wfms7w5opja4a2y&mode=json
  15.  
  16. to get a thread:
  17.   http://markmail.org/thread.xqy?id=dcue2bsyrsgbzsd5&mode=json
  18.  
  19. that's all you need to get anything from markmail.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top