Changes between Version 54 and Version 55 of DASISH/Scenario
- Timestamp:
- 05/15/13 12:10:32 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DASISH/Scenario
v54 v55 20 20 * User: visits the page {{{http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia}}} (for example). 21 21 * Client: requests the lists of annotations to which the user has "read" access. 22 22 * {{{GET api/annotations?link="http://en.wikipedia.org/wiki/Sagrada_Fam%C3%ADlia"&access=read}}} 23 23 * Service: returns list of annotation URI-s with the corresponding headlines, owners, and target source refs (URI-s); 24 24 … … 50 50 1) 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. 51 51 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.52 2) 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. 53 53 54 3) GET the version info. It gives the list of references to the version's cached representations.54 3) 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). 55 55 56 4) GET a cached representation .56 4) GET a cached representation by the appropriate CID. 57 57 58 58 See: