# pet.trezy.replyToFeature

> Published by [trezy.pet](https://lexicon.garden/identity/did:plc:ollch4g7tes2reb5eceiwuol)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ollch4g7tes2reb5eceiwuol/pet.trezy.replyToFeature)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ollch4g7tes2reb5eceiwuol/pet.trezy.replyToFeature/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ollch4g7tes2reb5eceiwuol/pet.trezy.replyToFeature/examples)

## Definitions

### `pet.trezy.replyToFeature`

**Type**: `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

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `decline` | `boolean` | No |  |
| `text` | `string` | No |  |
| `week` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `error` | `string` | No |  |
| `message` | `string` | No |  |
| `week` | `string` | No | Present only on success. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "pet.trezy.replyToFeature",
  "lexicon": 1
}
```
