HypothesisClient

Hypothesis client class

new HypothesisClient(token: any, config: any)
Parameters
token (any) The token to query hypothes.is API
config (any) Configuration parameters for the client. See Config.js for an example.
Static Members
orderAnnotations(annotations, order, sort)
Instance Members
createNewAnnotation(data, callback)
createNewAnnotationsSequential(annotations, callback)
createNewAnnotationsParallel(annotations, callback)
createNewAnnotations(annotations, callback)
getUserProfile(callback)
fetchAnnotation(id, callback)
updateAnnotation(id, data, callback)
deleteAnnotation(annotation, callback)
deleteAnnotations(annotations, callback)
searchAnnotationsSequential(data, callback)
searchAnnotations(data, callback)
getListOfGroups(data, callback)
createNewGroup(data, callback)
updateGroup(groupId, data, callback)
fetchGroup(groupId, callback)
removeAMemberFromAGroup(data, callback)