pet.trezy.replyToFeature

trezy.pet

Documentation

The featured keeper's answer for one week: a note to quote in the post (text, may be empty) or decline: true for 'not this time'. Writes pet.trezy.featureReply/<week> into the caller's repo. Refuses unless the caller is that week's keeper and the post has not gone out yet.

main procedure

The featured keeper's answer for one week: a note to quote in the post (text, may be empty) or decline: true for 'not this time'. Writes pet.trezy.featureReply/<week> into the caller's repo. Refuses unless the caller is that week's keeper and the post has not gone out yet.

Input

Encodingapplication/json
decline boolean Optional

No description available.

text string Optional

No description available.

maxLength: 1400 bytesmaxGraphemes: 140 graphemes
week string Required

No description available.

maxLength: 8 bytes

Output

Encodingapplication/json
error string Optional

No description available.

Known values: not-authenticated, missing-week, not-yours, closed, too-long, save-failed
message string Optional

No description available.

week string Optional

Present only on success.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "The featured keeper's answer for one week: a note to quote in the post (text, may be empty) or decline: true for 'not this time'. Writes pet.trezy.featureReply/<week> into the caller's repo. Refuses unless the caller is that week's keeper and the post has not gone out yet.",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "decline": {
          "type": "boolean"
        },
        "text": {
          "maxGraphemes": 140,
          "maxLength": 1400,
          "type": "string"
        },
        "week": {
          "maxLength": 8,
          "type": "string"
        }
      },
      "required": [
        "week"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "error": {
          "knownValues": [
            "not-authenticated",
            "missing-week",
            "not-yours",
            "closed",
            "too-long",
            "save-failed"
          ],
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "week": {
          "description": "Present only on success.",
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@