pet.trezy.setFeatureConsent

Say yes or no to the caller's pets being Pet of the Week. Yes writes pet.trezy.featureConsent/self into the caller's repo; no deletes it. Idempotent both ways.

Repository @trezy.pet did:plc:ollch4g7tes2reb5eceiwuol namespace authority
Details · procedure
Kindprocedure
Authoritytrezy.pet
Indexed
cid bafyreidgrxxqvho55l723vmgizh4tk2nrcrss3iqxqqdbitep6w5db5v6q

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.errorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.messageNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Say yes or no to the caller's pets being Pet of the Week. Yes writes pet.trezy.featureConsent/self into the caller's repo; no deletes it. Idempotent both ways.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "consenting": {
              "type": "boolean"
            }
          },
          "required": [
            "consenting"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "consenting": {
              "description": "The answer now on record. Present only on success.",
              "type": "boolean"
            },
            "error": {
              "knownValues": [
                "not-authenticated",
                "invalid-input",
                "save-failed"
              ],
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "pet.trezy.setFeatureConsent",
  "lexicon": 1
}