fyi.opensocial.putPeopleChannel
Make a channel for chosen people, or change one you're in: its name, who it's for, its tabs and their files. Anyone in it may; the people must be the group's members, and leaving yourself out is leaving it. Each tab keeps what it makes in a space of its own, for the same people.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Showing version bafyreidkvcdjog3skdvz2wjlmvtuo3ci5jr3t4gk5loavg2rcfdi7powpa. Show the latest
Checks
Validunlimited-stringdefs.main.output.schema.properties.slugNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Make a channel for chosen people, or change one you're in: its name, who it's for, its tabs and their files. Anyone in it may; the people must be the group's members, and leaving yourself out is leaving it. Each tab keeps what it makes in a space of its own, for the same people.",
"errors": [
{
"name": "InvalidChannel"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"channel": {
"description": "The channel to change, by its space; none to make one.",
"format": "at-uri",
"type": "string"
},
"files": {
"description": "Its tabs' files: each one it has already, or one you uploaded with uploadSiteFile.",
"items": {
"ref": "fyi.opensocial.defs#file",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"group": {
"format": "did",
"type": "string"
},
"name": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"people": {
"items": {
"format": "did",
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"slug": {
"description": "Its address, beginning with ~: none to keep the one it has, or for a new one, one from its name.",
"maxLength": 64,
"type": "string"
},
"tabs": {
"items": {
"ref": "fyi.opensocial.site#tab",
"type": "ref"
},
"maxLength": 30,
"type": "array"
}
},
"required": [
"group",
"name",
"people",
"tabs"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"channel": {
"format": "at-uri",
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"channel",
"slug"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.putPeopleChannel",
"lexicon": 1
}