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.
Input
application/jsongroup
stringdid
Required
A decentralized identifier (DID).
template
stringat-uri
Required
The template, its fyi.opensocial.template: in the group's members space, or its repo.
version
stringcid
Required
The version taken back, by CID.
Output
application/jsonlatest
refcom.atproto.repo.strongRef
Optional
The newest version left; none if every one is taken back.
Errors
NotFound
Forbidden
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}