com.getorbyt.community.manageModmailThread

getorbyt.com

Documentation

Archives a member's Modmail thread out of the open inbox, or brings it back. Requires manage-mail. A new message from the member reopens an archived thread on its own.

main procedure

Archives a member's Modmail thread out of the open inbox, or brings it back. Requires manage-mail. A new message from the member reopens an archived thread on its own.

Input

Encodingapplication/json
action string Required

No description available.

community stringat-uri Required

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

member stringdid Required

A decentralized identifier (DID).

Output

Encodingapplication/json
changed boolean Required

No description available.

Errors

AuthenticationRequired
CommunityNotFound
InsufficientRole
InvalidRequest
ThreadNotFound
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
{
  "description": "Archives a member's Modmail thread out of the open inbox, or brings it back. Requires manage-mail. A new message from the member reopens an archived thread on its own.",
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "CommunityNotFound"
    },
    {
      "name": "InsufficientRole"
    },
    {
      "name": "InvalidRequest"
    },
    {
      "name": "ThreadNotFound"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "action": {
          "knownValues": [
            "archive",
            "unarchive"
          ],
          "type": "string"
        },
        "community": {
          "format": "at-uri",
          "type": "string"
        },
        "member": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "community",
        "member",
        "action"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "changed": {
          "type": "boolean"
        },
        "thread": {
          "ref": "com.getorbyt.community.defs#modmailThreadView",
          "type": "ref"
        }
      },
      "required": [
        "thread",
        "changed"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@