link.latr.saved.setState

samclemente.me

Documentation

L@tr XRPC method link.latr.saved.setState.

main procedure

L@tr XRPC method link.latr.saved.setState.

Input

Encodingapplication/json
itemRkey stringrecord-key Required

A valid record key for AT Protocol repositories.

maxLength: 512 bytes
state string Required

No description available.

maxLength: 16 bytesmaxGraphemes: 16 graphemes

Output

Encodingapplication/json

Errors

InvalidRequest
InvalidUrl
AuthRequired
InvalidToken
InvalidDpop
ClientAuthRequired
SavedItemNotFound
Conflict
RateLimitExceeded
UpstreamFailure
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
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "itemRkey",
        "state"
      ],
      "properties": {
        "state": {
          "enum": [
            "unread",
            "archived"
          ],
          "type": "string",
          "maxLength": 16,
          "maxGraphemes": 16
        },
        "itemRkey": {
          "type": "string",
          "format": "record-key",
          "maxLength": 512
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "InvalidRequest"
    },
    {
      "name": "InvalidUrl"
    },
    {
      "name": "AuthRequired"
    },
    {
      "name": "InvalidToken"
    },
    {
      "name": "InvalidDpop"
    },
    {
      "name": "ClientAuthRequired"
    },
    {
      "name": "SavedItemNotFound"
    },
    {
      "name": "Conflict"
    },
    {
      "name": "RateLimitExceeded"
    },
    {
      "name": "UpstreamFailure"
    }
  ],
  "output": {
    "schema": {
      "ref": "link.latr.saved.defs#simpleOk",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "description": "L@tr XRPC method link.latr.saved.setState."
}

Lexicon Garden

@