Something went wrong. Try again.
upvote.at's lexicons
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ "$type": "com.atproto.lexicon.schema", "lexicon": 1, "id": "at.upvote.toggleSubscription", "defs": { "main": { "type": "procedure", "description": "Add or remove the authenticated caller's site.standard.graph.subscription to a standard.site publication.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "publication" ], "properties": { "publication": { "type": "string", "format": "at-uri", "description": "The site.standard.publication record to subscribe to or unsubscribe from." } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "uri", "cid", "action" ], "properties": { "uri": { "type": "string", "format": "at-uri", "description": "AT URI of the created or removed subscription record" }, "cid": { "type": "string", "format": "cid", "description": "CID of the created or removed subscription record" }, "action": { "type": "string", "enum": [ "added", "removed" ], "description": "Whether the subscription was added or removed" } } } }, "errors": [ { "name": "UpstreamFailure", "description": "The request could not be completed reliably; record absence or write success is unconfirmed." }, { "name": "WriteFailed", "description": "The write result could not be confirmed. Check the current record before retrying." } ] } }}