pet.trezy.getFeatureStatus

trezy.pet

Documentation

The caller's own Pet of the Week state: consent, the account-wide interaction count, this week's pick and the last posted feature. ⚠ IT ONLY EVER DESCRIBES THE CALLER; there is no parameter that names anybody else.

main query

The caller's own Pet of the Week state: consent, the account-wide interaction count, this week's pick and the last posted feature. ⚠ IT ONLY EVER DESCRIBES THE CALLER; there is no parameter that names anybody else.

Output

Encodingapplication/json
consenting boolean Optional

No description available.

current ref#current Optional

No description available.

error string Optional

No description available.

Known values: not-authenticated
interactions integer Optional

Account-wide, not per pet.

lastPosted ref#posted Optional

No description available.

message string Optional

No description available.

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://api.bsky.social)
View raw schema
{
  "description": "The caller's own Pet of the Week state: consent, the account-wide interaction count, this week's pick and the last posted feature. ⚠ IT ONLY EVER DESCRIBES THE CALLER; there is no parameter that names anybody else.",
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "consenting": {
          "type": "boolean"
        },
        "current": {
          "ref": "#current",
          "type": "ref"
        },
        "error": {
          "knownValues": [
            "not-authenticated"
          ],
          "type": "string"
        },
        "interactions": {
          "description": "Account-wide, not per pet.",
          "minimum": 0,
          "type": "integer"
        },
        "lastPosted": {
          "ref": "#posted",
          "type": "ref"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    }
  },
  "type": "query"
}
current object

No description available.

Properties

pet string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

petName string Optional

Absent when the pet's name can't be read — its trezy_pet_pets row is missing or hasn't caught up with the feature record yet. Requiring it would fail response validation and turn a valid answer into a 500 on that lag.

replied boolean Required

No description available.

week string Required

No description available.

maxLength: 8 bytes
View raw schema
{
  "properties": {
    "pet": {
      "format": "at-uri",
      "type": "string"
    },
    "petName": {
      "description": "Absent when the pet's name can't be read — its trezy_pet_pets row is missing or hasn't caught up with the feature record yet. Requiring it would fail response validation and turn a valid answer into a 500 on that lag.",
      "type": "string"
    },
    "replied": {
      "type": "boolean"
    },
    "week": {
      "maxLength": 8,
      "type": "string"
    }
  },
  "required": [
    "week",
    "pet",
    "replied"
  ],
  "type": "object"
}
posted object

No description available.

Properties

post string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

week string Required

No description available.

maxLength: 8 bytes
View raw schema
{
  "properties": {
    "post": {
      "format": "at-uri",
      "type": "string"
    },
    "week": {
      "maxLength": 8,
      "type": "string"
    }
  },
  "required": [
    "week",
    "post"
  ],
  "type": "object"
}

Lexicon Garden

@