fyi.opensocial.uploadSiteFile

Upload one of the files a group's site is made of: a page, a stylesheet, a script, an image or a font. Requires group.configure. Binary input like com.atproto.repo.uploadBlob; the group is a parameter because the blob has to land in that group's repo for its site record to reference it.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Showing version bafyreifg5lujpptdk4vv5xebgtu2575lspvjr2d6pfrfzt4giweepx2ooy. Show the latest

cid bafyreifg5lujpptdk4vv5xebgtu2575lspvjr2d6pfrfzt4giweepx2ooy

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Upload one of the files a group's site is made of: a page, a stylesheet, a script, an image or a font. Requires group.configure. Binary input like com.atproto.repo.uploadBlob; the group is a parameter because the blob has to land in that group's repo for its site record to reference it.",
      "input": {
        "encoding": "*/*"
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "blob": {
              "type": "blob"
            }
          },
          "required": [
            "blob"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.uploadSiteFile",
  "lexicon": 1
}