Record a view event for an eprint
Input
Encoding
application/jsonuri
stringat-uri
Required
AT-URI of the eprint being viewed
viewerDid
stringdid
Optional
DID of the viewer (optional for anonymous views)
Output
Encoding
application/jsonsuccess
boolean
Required
Whether the view was recorded
Errors
InvalidRequest
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the eprint being viewed"
},
"viewerDid": {
"type": "string",
"format": "did",
"description": "DID of the viewer (optional for anonymous views)"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the view was recorded"
}
}
},
"encoding": "application/json"
},
"description": "Record a view event for an eprint"
}