| 17 | | To use the TagingAPI from Mozilla Firefox and Thunderbird, tags are transmitted as comma separated list via httprequest. |
| 18 | | |
| 19 | | Request from Mozilla Thunderbird: |
| 20 | | |
| 21 | | * get me tags that contain this string X. Things have to have X in label, altLabel, wikiname or wikitext |
| 22 | | * string x |
| 23 | | * result: |
| 24 | | * list of:tag-uri + tag + class of tag |
| 25 | | |
| 26 | | |
| 27 | | * get me tags fitting to this email: |
| 28 | | * message-id |
| 29 | | * subject |
| 30 | | * body |
| 31 | | * result: |
| 32 | | * list of:tag-uri + tag + class of tag |
| 33 | | |
| 34 | | * get me the tags that are already associated to this email(s) (input either one e-mail or many) (has to be fast-as-hell). Used to augment the display of large lists of emails, for example the inbox. |
| 35 | | * message-id |
| 36 | | * result: |
| 37 | | * list of:tag-uri + tag + class of tag |
| 38 | | |
| 39 | | * tag this e-mail using that tag: |
| 40 | | * message-id |
| 41 | | * tag-uri |
| 42 | | * operation: add tag/remove tag |
| 43 | | * result: |
| 44 | | * ok/error |
| 45 | | |
| 46 | | * tag this e-mail using that tag-name: |
| 47 | | * message-id |
| 48 | | * tag-name (the label) |
| 49 | | * operation: add tag/remove tag |
| 50 | | * result: |
| 51 | | * has to create a NEW TAG if tag-name does not exists, creates a URI for the tag. |
| 52 | | * return new tag-uri + ok/error |
| 53 | | |
| 54 | | |
| 55 | | To identificate an email, we should use the Message-ID and not the mail-uri, because if an email is moved to another folder we will loss the relation of the tags to this mail. |
| 56 | | |
| | 20 | We have made a crappy servlet to access the API, but we recommend to use [GnowsisXmlRpcDeveloping] to access the api. |