client.root()
expectType<IndexResponse>(
await client.root()
)
h API reference: GET /
client.search()
expectType<Result>(
await client.search(QUERY)
)
h API reference: GET /search
client.fetchAnnotation(id)
expectType<Annotation>(
await client.annotations.fetchAnnotation(ANNOTATION_ID)
)
h API reference: GET /annotations/\{id\}
h API reference: POST /annotations
client.fetchGroup(id)
expectType<Group>(
await client.groups.fetchGroup(GROUP_ID)
)
h API reference: GET /groups/\{id\}
Generated using TypeDoc