Changes between Version 5 and Version 6 of JSONInterface
- Timestamp:
- Apr 21, 2011, 11:29:56 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JSONInterface
v5 v6 4 4 5 5 ||= Method =||= description =|| 6 || '''jsonInterface?entId=x1''' || returns an entity by id || 7 || '''jsonInterface?codexIdentifier=x1&collection=x2''' || returns a codex by its identifier and collection || 6 || '''jsonInterface?method=getWitness&entId=x1''' || returns a witness by id || 7 || '''jsonInterface?method=getEntity&entId=x1''' || returns an entity by id || 8 || '''jsonInterface?method=getCodex&codexIdentifier=x1&collection=x2''' || returns a codex by its identifier and collection || 8 9 9 10 == Examples == 10 11 11 * http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface? entId=43267412 * http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?method=getEntity&entId=432674 12 13 {{{ 13 14 #!div style="font-size: 80%" … … 46 47 }}} 47 48 48 * http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface? codexIdentifier=437&collection=Jawāhir49 * http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?method=getCodex&codexIdentifier=437&collection=Jawāhir 49 50 {{{ 50 51 #!div style="font-size: 80%" … … 92 93 }}} 93 94 }}} 95 96 * http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?method=getManuscript&entId=63326 97 {{{ 98 #!div style="font-size: 80%" 99 Output: 100 {{{#!python 101 { 102 "responseInfo": "OK", 103 "extended-manuscript": { 104 "notes_on_ownership_in_codex": "", 105 "notes_in_codex": "", 106 "location": "Konya, Turkey", 107 "date_calendar": "", 108 "number_of_folios": "", 109 "holding_library": "Yusuf Agha", 110 "author": "Abū al-Ḥasan ʿAlī ibn ʿAbī Bakr al-Harawī", 111 "scripts": "", 112 "title": " Al-Tadhkira al-Harawiyya fī ḥiyal al-ḥarbiyya", 113 "notes_on_ownership": "", 114 "call_number": "5009", 115 "distinguishing_features": "", 116 "editorial_remarks": "", 117 "signature": "", 118 "linesPerPage": "", 119 "abstract": "", 120 "keywords": "", 121 "contents": "", 122 "collation_corrections": "", 123 "incipit": "", 124 "catchwords": "", 125 "copyist": "Abū Isḥāq b. Saʿd Allāh", 126 "written_area_dimensions": "", 127 "secondary_literature": "", 128 "year_calendar": "", 129 "explicit": "", 130 "binding": "", 131 "writing_surface": "", 132 "foliation": "", 133 "page_dimensions": "", 134 "notes": "" 135 } 136 } 137 }}} 138 }}}