dev.blinkers.putView
Write a blink back through a lens, or create a record from one.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | blinkers.dev |
| Indexed |
Checks
Validnullable-and-optionaldefs.main.input.schema.properties.swapRecordswapRecord is both nullable and optional.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Write a blink back through a lens, or create a record from one.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
},
{
"name": "InvalidBlink"
},
{
"name": "NotAllowed"
},
{
"name": "InvalidSwap"
},
{
"name": "RecordExists"
},
{
"name": "WriteConflict"
},
{
"name": "InvalidRecord"
},
{
"name": "LensNotFound"
},
{
"name": "RecordNotFound"
},
{
"name": "RecordNotCovered"
},
{
"name": "InvalidLens"
},
{
"name": "UpstreamFailure"
},
{
"name": "LexiconUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"nullable": [
"swapRecord"
],
"properties": {
"lens": {
"format": "at-uri",
"type": "string"
},
"rkey": {
"format": "record-key",
"type": "string"
},
"swapRecord": {
"description": "null means: only if the record doesn't exist yet.",
"format": "cid",
"type": "string"
},
"swapValue": {
"type": "unknown"
},
"value": {
"type": "unknown"
}
},
"required": [
"lens",
"value"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"value": {
"type": "unknown"
}
},
"required": [
"uri",
"cid",
"value"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "dev.blinkers.putView",
"lexicon": 1
}