buzz.bookhive.reorderList

Reorder items in a list.

Repository @bookhive.buzz did:plc:enu2j5xjlqsjaylv3du4myh4 namespace authority
Details · procedure
Kindprocedure
Authoritybookhive.buzz
Indexed
cid bafyreiceziujw3a6gvkdkl23uuanktp7ncwrfj66bwglbum7xjs7tckbny

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.itemUris.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.listUriNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Reorder items in a list.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "itemUris": {
              "description": "Item URIs in the new desired order",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "listUri": {
              "description": "AT-URI of the list",
              "type": "string"
            }
          },
          "required": [
            "listUri",
            "itemUris"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "buzz.bookhive.reorderList",
  "lexicon": 1
}