pet.trezy.getFeatures

trezy.pet

Documentation

Feature records, newest week first, with what a reader needs to show them: the pet's facts, the keeper's reply and consent. Public: every field here is already public in somebody's repo.

main query

Feature records, newest week first, with what a reader needs to show them: the pet's facts, the keeper's reply and consent. Public: every field here is already public in somebody's repo.

Parameters

cursor string Optional

A week. Returns weeks strictly before it.

limit integer Optional

No description available.

pet string at-uri Optional

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

status string Optional

No description available.

week string Optional

No description available.

Output

Encodingapplication/json
cursor string Optional

No description available.

features array Required

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)
Parameters
A week. Returns weeks strictly before it.
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
View raw schema
{
  "description": "Feature records, newest week first, with what a reader needs to show them: the pet's facts, the keeper's reply and consent. Public: every field here is already public in somebody's repo.",
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cursor": {
          "type": "string"
        },
        "features": {
          "items": {
            "ref": "#entry",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "features"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "cursor": {
        "description": "A week. Returns weeks strictly before it.",
        "type": "string"
      },
      "limit": {
        "default": 25,
        "maximum": 50,
        "minimum": 1,
        "type": "integer"
      },
      "pet": {
        "format": "at-uri",
        "type": "string"
      },
      "status": {
        "knownValues": [
          "picked",
          "posted",
          "skipped"
        ],
        "type": "string"
      },
      "week": {
        "maxLength": 8,
        "type": "string"
      }
    },
    "type": "params"
  },
  "type": "query"
}
entry object

No description available.

Properties

consenting boolean Required

No description available.

keeper string did Optional

A decentralized identifier (DID).

passedOver array of stringdid Required

No description available.

pet ref #pet Optional

No description available.

pickedAt string datetime Required

An RFC 3339 formatted timestamp.

post string at-uri Optional

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

postedAt string datetime Optional

An RFC 3339 formatted timestamp.

reply ref #reply Optional

No description available.

status string Required

No description available.

Known values: picked, posted, skipped
week string Required

No description available.

maxLength: 8 bytes
View raw schema
{
  "properties": {
    "consenting": {
      "type": "boolean"
    },
    "keeper": {
      "format": "did",
      "type": "string"
    },
    "passedOver": {
      "items": {
        "format": "did",
        "type": "string"
      },
      "type": "array"
    },
    "pet": {
      "ref": "#pet",
      "type": "ref"
    },
    "pickedAt": {
      "format": "datetime",
      "type": "string"
    },
    "post": {
      "format": "at-uri",
      "type": "string"
    },
    "postedAt": {
      "format": "datetime",
      "type": "string"
    },
    "reply": {
      "ref": "#reply",
      "type": "ref"
    },
    "status": {
      "knownValues": [
        "picked",
        "posted",
        "skipped"
      ],
      "type": "string"
    },
    "week": {
      "maxLength": 8,
      "type": "string"
    }
  },
  "required": [
    "week",
    "status",
    "passedOver",
    "pickedAt",
    "consenting"
  ],
  "type": "object"
}
pet object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

interactions integer Required

No description available.

minimum: 0
name string Required

No description available.

retired boolean Required

No description available.

species string Required

No description available.

uri string at-uri Required

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

View raw schema
{
  "properties": {
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "interactions": {
      "minimum": 0,
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "retired": {
      "type": "boolean"
    },
    "species": {
      "type": "string"
    },
    "uri": {
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "uri",
    "name",
    "species",
    "createdAt",
    "interactions",
    "retired"
  ],
  "type": "object"
}
reply object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

decline boolean Required

No description available.

text string Required

No description available.

maxLength: 1400 bytesmaxGraphemes: 140 graphemes
View raw schema
{
  "properties": {
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "decline": {
      "type": "boolean"
    },
    "text": {
      "maxGraphemes": 140,
      "maxLength": 1400,
      "type": "string"
    }
  },
  "required": [
    "decline",
    "text",
    "createdAt"
  ],
  "type": "object"
}

Lexicon Garden

@