[Toolserver-l] APIs giving origin and author of text ("blame" maps), and signals on revision vandalism

Luca de Alfaro luca at dealfaro.com
Fri Feb 4 06:31:34 UTC 2011


Dear All,

We wanted to let you know of three recent APIs we have built for
WikiTrust that may be useful to tool developers.  If anyone would like
to build a service on top of these APIs (or have suggestions for other
APIs that we might be able to provide with our data), we would love to
work with you to make it happen.

kind regards,
   Luca, Bo, and Ian


VANDALISM API: A request like

    http://en.collaborativetrust.com/WikiTrust/RemoteAPI?method=quality&revid=411787463

returns the vandalism probability for revision 1234.  This is a plain
text floating point number from zero to one, where 1.0 means that the
revision is vandalism.


SELECTION API:  A request like

    http://en.collaborativetrust.com/WikiTrust/RemoteAPI?method=select&pageid=20742

returns a JSON array of objects describing the top-quality recent
revisions of the page.  Each entry consist of a revision_id, and of a
few additional parameters.


TEXT ORIGIN API: A request like

    http://en.collaborativetrust.com/WikiTrust/RemoteAPI?method=wikimarkup&pageid=20742&revid=411787463

returns a JSON object containing a string, consisting of the WikiTrust
text with some additional markup.  The markup consists in tags like:

    Since {{#t:10,84893431,Habitual gardner}}its inception in
{{#t:10,86765634,Bassemkhalifa}}1928 the movement

which means that the words “its inception in” were written by
“Habitual gardner”, in revision 86765634 (and have trust 10).

---

See http://www.wikitrust.net/vandalism-api for additional information
about these APIs.



More information about the Toolserver-l mailing list