fyi.opensocial.takeBackVersion
Take back a version of a template the group shared: within the group, whoever shared it or whoever may change the site; with everyone, from the group's own repo, whoever may publish for the group. No tab is brought onto it, and every tab on it goes back to the last version before it that wasn't taken back. Its listing's latest becomes the newest version left.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Take back a version of a template the group shared: within the group, whoever shared it or whoever may change the site; with everyone, from the group's own repo, whoever may publish for the group. No tab is brought onto it, and every tab on it goes back to the last version before it that wasn't taken back. Its listing's latest becomes the newest version left.",
"errors": [
{
"name": "NotFound"
},
{
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"group": {
"format": "did",
"type": "string"
},
"template": {
"description": "The template, its fyi.opensocial.template: in the group's members space, or its repo.",
"format": "at-uri",
"type": "string"
},
"version": {
"description": "The version taken back, by CID.",
"format": "cid",
"type": "string"
}
},
"required": [
"group",
"template",
"version"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"latest": {
"description": "The newest version left; none if every one is taken back.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.takeBackVersion",
"lexicon": 1
}