us.off-the-clock.browseSpaces
The space directory (D50): the spaces with a profile, in record-key order, oldest first, for members who read the default pair's content space. Nothing of a space's records is in it, only what its admins wrote about it.
Details · query
| Kind | query |
|---|---|
| Authority | off-the-clock.us |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.spaceView.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.spaceView.properties.displayNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.spaceView.properties.parentAccessNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The space directory (D50): the spaces with a profile, in record-key order, oldest first, for members who read the default pair's content space. Nothing of a space's records is in it, only what its admins wrote about it.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotSpaceMember"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"spaces": {
"items": {
"ref": "#spaceView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"spaces"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "The last record key of the page before.",
"maxLength": 64,
"type": "string"
},
"limit": {
"default": 24,
"maximum": 48,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
},
"spaceView": {
"description": "A listed space: its profile, with signed images, the admins to ask, its member count, whether the viewer holds it and whether it has a policy to accept.",
"properties": {
"admins": {
"description": "The current profiles of the record's admin DIDs, in order, or the pair's team when the record names none.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"avatar": {
"format": "uri",
"type": "string"
},
"cid": {
"format": "cid",
"type": "string"
},
"description": {
"type": "string"
},
"displayName": {
"type": "string"
},
"facets": {
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
},
"type": "array"
},
"hasPolicy": {
"type": "boolean"
},
"header": {
"format": "uri",
"type": "string"
},
"memberCount": {
"minimum": 0,
"type": "integer"
},
"membersHidden": {
"description": "The member list is for the pair's admins; memberCount is left out for anyone else.",
"type": "boolean"
},
"parentAccess": {
"description": "Everyone in the community reads (read), or reads and writes (write), the space without a member entry. Left out for a private space.",
"knownValues": [
"read",
"write"
],
"type": "string"
},
"space": {
"description": "The space's content space.",
"format": "at-uri",
"type": "string"
},
"tid": {
"description": "The pair's TID: the profile's record key.",
"format": "tid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"viewerIsMember": {
"type": "boolean"
}
},
"required": [
"space",
"tid",
"uri",
"cid",
"displayName",
"description",
"avatar",
"header",
"admins",
"viewerIsMember",
"hasPolicy"
],
"type": "object"
}
},
"id": "us.off-the-clock.browseSpaces",
"lexicon": 1
}