fyi.opensocial.undoSitePublish

Take back what the site's last publish changed: whatever is still as it left it goes back; anything changed since stays.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed
cid bafyreidj5izupznglp4fdp4wtzn2z2t6gveov2iuwvno7divygxq3b3nx4

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.kept.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Take back what the site's last publish changed: whatever is still as it left it goes back; anything changed since stays.",
      "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": {
            "kept": {
              "description": "What was changed again since, and so left as it is.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "undone": {
              "type": "integer"
            }
          },
          "required": [
            "undone",
            "kept"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.undoSitePublish",
  "lexicon": 1
}