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. For the site, by whoever holds group.configure; for a channel for chosen people, by any member, to name in a channel they save with putPeopleChannel. 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 records to reference it.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed
cid bafyreiav4nm5ixm6syhzgjz443zypshk5v4fiwppmtxeoj3dlicuwfpe5q

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. For the site, by whoever holds group.configure; for a channel for chosen people, by any member, to name in a channel they save with putPeopleChannel. 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 records 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
}