Get a user's endorsement for a specific eprint
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
Sending request...
View raw schema
{
"type": "query",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"schema": {
"ref": "#endorsementView",
"type": "ref"
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"eprintUri",
"userDid"
],
"properties": {
"userDid": {
"type": "string",
"format": "did",
"description": "DID of the user"
},
"eprintUri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the eprint"
}
}
},
"description": "Get a user's endorsement for a specific eprint"
}
No description available.
Properties
A decentralized identifier (DID).
No description available.
No description available.
View raw schema
{
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"avatar": {
"type": "string",
"format": "uri"
},
"handle": {
"type": "string"
},
"displayName": {
"type": "string"
}
}
}
View of an endorsement
Properties
Contribution types being endorsed
minLength: 1 items
No description available.
View raw schema
{
"type": "object",
"required": [
"uri",
"cid",
"eprintUri",
"endorser",
"contributions",
"createdAt"
],
"properties": {
"cid": {
"type": "string",
"description": "Content identifier"
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "Endorsement AT-URI"
},
"comment": {
"type": "string",
"maxLength": 1000,
"description": "Optional comment"
},
"endorser": {
"ref": "#authorRef",
"type": "ref"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Creation timestamp"
},
"eprintUri": {
"type": "string",
"format": "at-uri",
"description": "Endorsed eprint AT-URI"
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "Last update timestamp"
},
"contributions": {
"type": "array",
"items": {
"type": "string",
"knownValues": [
"methodological",
"analytical",
"theoretical",
"empirical",
"conceptual",
"technical",
"data",
"replication",
"reproducibility",
"synthesis",
"interdisciplinary",
"pedagogical",
"visualization",
"societal-impact",
"clinical"
]
},
"minLength": 1,
"description": "Contribution types being endorsed"
}
},
"description": "View of an endorsement"
}