fyi.opensocial.publishSiteDraft

lexicons.opensocial.fyi

Documentation

Publish the caller's draft: what it changed goes onto the live site as it is now, and anything else changed meanwhile stays. The last publish can be undone.

main procedure

Publish the caller's draft: what it changed goes onto the live site as it is now, and anything else changed meanwhile stays. The last publish can be undone.

Input

Encodingapplication/json
group stringdid Required

A decentralized identifier (DID).

Output

Encodingapplication/json
changed integer Required

No description available.

replaced array Required

What someone else had changed too since the draft began, now the draft's.

Errors

NotFound
Forbidden
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": "Publish the caller's draft: what it changed goes onto the live site as it is now, and anything else changed meanwhile stays. The last publish can be undone.",
  "errors": [
    {
      "name": "NotFound"
    },
    {
      "name": "Forbidden"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "group": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "group"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "changed": {
          "type": "integer"
        },
        "replaced": {
          "description": "What someone else had changed too since the draft began, now the draft's.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "changed",
        "replaced"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@