Target annotation database API URL
The headers responsible for authenticating the request and the Hypothes.is Accept header
Target API endpoint, e.g. /annotations
Anything fetch
accepts as second parameter, including additional headers
Generated using TypeDoc
Returns
The parsed API response object (
await response.json()
)Throws
ApiError if unauthorized