A tab you can see, as a template shared from it has it, for sharing it with everyone as yourself: its page, its methods and the kinds of record it makes up, the tab's namespace in them made the placeholder, and what a tab of it does. Its records are written in your own repo by you: a fyi.opensocial.templateVersion, each file a blob, and the fyi.opensocial.template listing it, at the record key given. Refused as shareTab refuses, and a new version whose kinds of record change in a way records already kept wouldn't fit.
Parameters
Output
application/jsonentry
reffyi.opensocial.template#entry
Required
What a tab of it does, for the version's entry.
files
array
Required
The version's files, by path, as text.
number
integer
Required
Which version this is.
previous
ref#previous
Optional
The listing in your repo shared from this tab before, if there is one.
rkey
string
Required
The listing's record key in your repo: the one shared from this tab before, or a new one from its name.
Errors
InvalidTab
NotFound
Forbidden
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "A tab you can see, as a template shared from it has it, for sharing it with everyone as yourself: its page, its methods and the kinds of record it makes up, the tab's namespace in them made the placeholder, and what a tab of it does. Its records are written in your own repo by you: a fyi.opensocial.templateVersion, each file a blob, and the fyi.opensocial.template listing it, at the record key given. Refused as shareTab refuses, and a new version whose kinds of record change in a way records already kept wouldn't fit.",
"errors": [
{
"name": "InvalidTab"
},
{
"name": "NotFound"
},
{
"name": "Forbidden"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"entry": {
"description": "What a tab of it does, for the version's entry.",
"ref": "fyi.opensocial.template#entry",
"type": "ref"
},
"files": {
"description": "The version's files, by path, as text.",
"items": {
"ref": "#file",
"type": "ref"
},
"type": "array"
},
"number": {
"description": "Which version this is.",
"minimum": 1,
"type": "integer"
},
"previous": {
"description": "The listing in your repo shared from this tab before, if there is one.",
"ref": "#previous",
"type": "ref"
},
"rkey": {
"description": "The listing's record key in your repo: the one shared from this tab before, or a new one from its name.",
"type": "string"
}
},
"required": [
"rkey",
"number",
"entry",
"files"
],
"type": "object"
}
},
"parameters": {
"properties": {
"description": {
"description": "One line saying what it is.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"group": {
"format": "did",
"type": "string"
},
"name": {
"description": "What it's called, where it's offered.",
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"tab": {
"description": "The tab's namespace.",
"maxLength": 13,
"type": "string"
}
},
"required": [
"group",
"tab",
"name",
"description"
],
"type": "params"
},
"type": "query"
}