Changes between Version 12 and Version 13 of DASISH/Scenario


Ignore:
Timestamp:
04/12/13 14:06:18 (11 years ago)
Author:
olhsha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DASISH/Scenario

    v12 v13  
    1212
    1313
    14 '''ToDo:''' (general): add example XML serializations of requests/responses to serve as basis for (modifications of) the schemata
     14'''ToDo:''' (general): add example XML serializations of requests/responses to serve as basis for (modifications of) the schemata.
     15
     16'''Status'''. Partially done.
    1517
    1618= Authentication =
    17 * User logs-in to annotation service, so the UID gets known by the server.
    18 
    19 '''ToDo:''' Add to API the "who-am-I" service that allows the user to obtain his/her UID and list of notebooks(read and write), incl. their id's and rendering names.
    20 
    21 '''Status''': done, pls check [[SpecificationDocument#Userrealm]] and [[XSD and XML#RespondingGETapiuser]]
     19* User logs-in to annotation service, so the UID gets known by the server. See [[SpecificationDocument#Userrealm]] and [[XSD and XML#RespondingGETapiuser]]
    2220
    2321= Visiting an annotated web page =
    2422
    25 * User: visits the page <...>.
     23* User: visits the page  http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia (for example).
    2624* Client: requests the lists of annotations to which the user has "read" access.
    27  * GET api/annotations?source=<...>&access=read
     25 * GET api/annotations?source="http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia"&access=read
    2826* Service: returns list of annotation id-s with the corresponding headlines, notebooks, owners, and target sources URI's;
    2927
    30 '''ToDo:''' Olha: example XML +schema of the respond.
    31 
    32 '''Status'''. Done, pls check [[XSD and XML#RespondingGETapiannotationssourcehttp:en.wikipedia.orgwikiSagrada_FamC3ADliaaccessread]]
     28See [[XSD and XML#RespondingGETapiannotationssourcehttp:en.wikipedia.orgwikiSagrada_FamC3ADliaaccessread]]
    3329
    3430* Client: Resolving fragments (mapping) happens after the response. There are two internal lists for the client: the resolvable and unresolvable target.
     
    4238* Service: returns the annotation
    4339
    44 '''ToDo:''' Olha: xml.
    45 
    46 '''Status'''. Done, pls check [[XSD and XML#RespondingGETapiannotationsAID02exampleusageforresolvabletargetsources]].
     40See [[XSD and XML#RespondingGETapiannotationsAID02exampleusageforresolvabletargetsources]].
    4741
    4842== Unresolvable target ==
     
    5549* GET api/sources/<sid>/cached/<cid>
    5650
    57 '''ToDo:''' Olha: examples XML+schema of the respond, for all 4 calls.
    58 
    59 '''Status'''. Done, pls check [[XSD and XML#RespondingGETapiannotationsAID01exampleusageforunresolvabletargetsources]], [[XSD and XML#RespondingGETapiannotationsAID01sourcesexampleusageforunresolvabletargetsources]], [[XSD and XML#RespondingGETapisourcesSID05cachedexampleusageforunresolvabletargetsources]], [[XSD and XML#RespondingGETapisourcesSID05cachedCID005Aexampleusageforunresolvabletargetsources]].
     51See [[XSD and XML#RespondingGETapiannotationsAID01exampleusageforunresolvabletargetsources]], [[XSD and XML#RespondingGETapiannotationsAID01sourcesexampleusageforunresolvabletargetsources]], [[XSD and XML#RespondingGETapisourcesSID05cachedexampleusageforunresolvabletargetsources]], [[XSD and XML#RespondingGETapisourcesSID05cachedCID005Aexampleusageforunresolvabletargetsources]].
    6052
    6153= Annotation creation =
     
    6355* Client: sends the annotation to the server
    6456* POST api/annotation
    65 
    66 '''ToDo:''' Olha: input example XML+schema of the body.
    67 
    68 '''Status'''. Done, pls check [[XSD and XML#RequestbodyforPOSTapiannotations]].
     57See  [[XSD and XML#RequestbodyforPOSTapiannotations]], two versions, with and without action "CREATE_CACHED_REPRESENTATION".
    6958
    7059* Service: responds with the annotation <aid>, with temp id-s replaced by the permanent ones, the full URI for the target sources,  action:create cached representation.
    7160* Client: sends cached representation
    7261 * POST/api/cources/<sid>/cached
     62
     63The serialisation is an instance of the same element as the serialization of the respond on GET api/sources/<sid>/cached/<cid>
     64=== Olha's question ===
     65Agree??
     66
     67
    7368* Service: store representation
    7469