Changes between Version 54 and Version 55 of DASISH/Scenario


Ignore:
Timestamp:
05/15/13 12:10:32 (11 years ago)
Author:
olhsha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DASISH/Scenario

    v54 v55  
    2020* User: visits the page  {{{http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia}}} (for example).
    2121* Client: requests the lists of annotations to which the user has "read" access.
    22  * {{{GET api/annotations?link="http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia"&access=read}}}
     22* {{{GET api/annotations?link="http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia"&access=read}}}
    2323* Service: returns list of annotation URI-s with the corresponding headlines, owners, and target source refs (URI-s);
    2424
     
    50501) At a start an annotation is GET and an unresolved target is detected. An "unresolved target" means that e.g. the corresponding page  has been updated and the target fragment cannot be placed within it any more.  Therefore,  the client needs to get a corresponding cached representation instead of the actual page.
    5151
    52 2) For this the clients GETs the source info. The source contains: a) the version string, b) the list of the  reference ID's all "siblings"-versions of the source for which there are cached representations in the DB.  Now the client finds  the version ID by the version string.
     522) For this the clients GETs the source info. It contains: a) the version string, b) the list of the  reference ID's all "siblings"-versions of the source for which there are cached representations in the DB.
    5353
    54 3) GET the version info. It gives the list of references to the version's cached representations.
     543) GET the version list. It gives the list of references to the version's cached representations for any version string. Therefore, having the version string, he client can choose a cached representation ID (CID).                                                                                                                                                                                                                                                                     
    5555
    56 4)  GET a cached representation.
     564)  GET a cached representation by the appropriate CID.
    5757
    5858See: