L@tr XRPC method link.latr.saved.setState.
Input
Encoding
application/jsonitemRkey
stringrecord-key
Required
A valid record key for AT Protocol repositories.
maxLength: 512 bytesstate
string
Required
No description available.
maxLength: 16 bytesmaxGraphemes: 16 graphemesOutput
Encoding
application/jsonErrors
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.
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."
}