com.getorbyt.community.updatePublication

getorbyt.com

Documentation

Publishes or unpublishes a Community. Requires authenticated service authorization and a manager action advertised by the Community view.

main procedure

Publishes or unpublishes a Community. Requires authenticated service authorization and a manager action advertised by the Community view.

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).

Output

Encodingapplication/json
changed boolean Required

No description available.

Errors

AuthenticationRequired
CommunityNotFound
InsufficientRole
InvalidState
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": [
        "community",
        "action"
      ],
      "properties": {
        "action": {
          "type": "string",
          "knownValues": [
            "publish",
            "unpublish"
          ]
        },
        "community": {
          "type": "string",
          "format": "at-uri"
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "CommunityNotFound"
    },
    {
      "name": "InsufficientRole"
    },
    {
      "name": "InvalidState"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "community",
        "changed"
      ],
      "properties": {
        "changed": {
          "type": "boolean"
        },
        "community": {
          "ref": "com.getorbyt.community.defs#view",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Publishes or unpublishes a Community. Requires authenticated service authorization and a manager action advertised by the Community view."
}

Lexicon Garden

@