fyi.opensocial.listTemplates

lexicons.opensocial.fyi

Documentation

The templates shared within the group, each at its latest version: for its members alone.

main query

The templates shared within the group, each at its latest version: for its members alone.

Parameters

group string did Required

A decentralized identifier (DID).

Output

Encodingapplication/json
templates array Required

No description available.

Errors

Forbidden
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
A decentralized identifier (DID).
View raw schema
{
  "description": "The templates shared within the group, each at its latest version: for its members alone.",
  "errors": [
    {
      "name": "Forbidden"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "templates": {
          "items": {
            "ref": "#templateView",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "templates"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "group": {
        "format": "did",
        "type": "string"
      }
    },
    "required": [
      "group"
    ],
    "type": "params"
  },
  "type": "query"
}
templateView object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

createdBy string did Optional

Who shared its latest version.

description string Required

No description available.

name string Required

Its record key: lowercase letters, digits and dashes.

number integer Required

No description available.

minimum: 1
sharedFrom string Optional

The namespace of the tab it was shared from.

updatedAt string datetime Optional

An RFC 3339 formatted timestamp.

uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

versions array of ref#versionView Optional

Every version, newest first.

View raw schema
{
  "properties": {
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "createdBy": {
      "description": "Who shared its latest version.",
      "format": "did",
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "entry": {
      "description": "How a tab uses it, its own kinds of record not yet named for any tab.",
      "ref": "fyi.opensocial.template#entry",
      "type": "ref"
    },
    "name": {
      "description": "Its record key: lowercase letters, digits and dashes.",
      "type": "string"
    },
    "number": {
      "minimum": 1,
      "type": "integer"
    },
    "sharedFrom": {
      "description": "The namespace of the tab it was shared from.",
      "type": "string"
    },
    "updatedAt": {
      "format": "datetime",
      "type": "string"
    },
    "uri": {
      "format": "at-uri",
      "type": "string"
    },
    "version": {
      "description": "Its latest version, which a tab made from it names.",
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "versions": {
      "description": "Every version, newest first.",
      "items": {
        "ref": "#versionView",
        "type": "ref"
      },
      "type": "array"
    }
  },
  "required": [
    "uri",
    "name",
    "description",
    "version",
    "number",
    "entry",
    "createdAt"
  ],
  "type": "object"
}
versionView object

No description available.

Properties

changes string Optional

What's new in it.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

createdBy string did Optional

Who shared it.

number integer Required

No description available.

minimum: 1
takenBack boolean Optional

Whoever shared it took it back.

unsafe boolean Optional

Labelled unsafe, by this host's moderators or a labeler it follows: no tab is brought onto it, and a tab on it goes back to the last version that isn't.

View raw schema
{
  "properties": {
    "changes": {
      "description": "What's new in it.",
      "type": "string"
    },
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "createdBy": {
      "description": "Who shared it.",
      "format": "did",
      "type": "string"
    },
    "number": {
      "minimum": 1,
      "type": "integer"
    },
    "takenBack": {
      "description": "Whoever shared it took it back.",
      "type": "boolean"
    },
    "unsafe": {
      "description": "Labelled unsafe, by this host's moderators or a labeler it follows: no tab is brought onto it, and a tab on it goes back to the last version that isn't.",
      "type": "boolean"
    },
    "version": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "required": [
    "version",
    "number",
    "createdAt"
  ],
  "type": "object"
}

Lexicon Garden

@