def r_annotation(self, sha):
annotation = self.__queryinterface__.getResource(sha)<EOL>if not annotation:<EOL><INDENT>return "<STR_LIT>", <NUM_LIT><EOL><DEDENT>response = {<EOL>"<STR_LIT>": type(self).JSONLD_CONTEXT,<EOL>"<STR_LIT:id>": url_for("<STR_LIT>", sha=annotation.sha),<EOL>"<STR_LIT:body>": url_for("<STR_LIT>", sha=annotation.sha),<EOL>"<STR_LIT:type>": "<STR_LIT>",<EOL>"<STR_LIT:target>": annotation.target.to_json(),<EOL>"<STR_LIT>": [annotation.uri],<EOL>"<STR_LIT>": annotation.type_uri,<EOL>"<STR_LIT>": annotation.slug<EOL>}<EOL>return jsonify(response)<EOL>
Route to retrieve contents of an annotation resource

        :param uri: The uri of the annotation resource
        :type uri: str
        :return: annotation contents
        :rtype: {str: Any}