Single-record difficulty fetch
Parameters
key
string
record-key
Optional
The key of the record to fetch. Must be present if `uri` is absent.
owner
string
at-identifier
Optional
The handle or DID of the record owner. Must be present if `uri` is absent.
uri
string
Optional
The AT URI of the record to fetch. Must be present if `owner` and `key` are absent.
Output
Encoding
application/jsonSchemadev.tsunagite.difficulty
Errors
difficultyNotFound
No difficulty matching the given URI or owner/key was found. invalidParams
Parameters must include a URI or owner and key. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "difficultyNotFound",
"description": "No difficulty matching the given URI or owner/key was found."
},
{
"name": "invalidParams",
"description": "Parameters must include a URI or owner and key."
}
],
"output": {
"schema": {
"ref": "dev.tsunagite.difficulty",
"type": "ref"
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"key": {
"type": "string",
"format": "record-key",
"description": "The key of the record to fetch. Must be present if `uri` is absent."
},
"uri": {
"type": "string",
"description": "The AT URI of the record to fetch. Must be present if `owner` and `key` are absent."
},
"owner": {
"type": "string",
"format": "at-identifier",
"description": "The handle or DID of the record owner. Must be present if `uri` is absent."
}
}
},
"description": "Single-record difficulty fetch"
}