| 47 | |
| 48 | The whole workflow is as as follows. |
| 49 | |
| 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 | |
| 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. |
| 53 | |
| 54 | 3) GET the version info. It gives the list of references to the version's cached representations. |
| 55 | |
| 56 | 4) GET a cached representation. |