Changes between Version 5 and Version 6 of JSONInterface


Ignore:
Timestamp:
Apr 21, 2011, 11:29:56 AM (14 years ago)
Author:
jurzua
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JSONInterface

    v5 v6  
    44
    55||= 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 ||
    89
    910== Examples ==
    1011
    11 * http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?entId=432674
     12* http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?method=getEntity&entId=432674
    1213{{{
    1314#!div style="font-size: 80%"
     
    4647}}}
    4748
    48 * http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?codexIdentifier=437&collection=Jawāhir
     49* http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?method=getCodex&codexIdentifier=437&collection=Jawāhir
    4950{{{
    5051#!div style="font-size: 80%"
     
    9293  }}}
    9394}}}
     95
     96* http://neruda.mpiwg-berlin.mpg.de:8080/om4-ismi/jsonInterface?method=getManuscript&entId=63326
     97{{{
     98#!div style="font-size: 80%"
     99Output:
     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}}}