us.off-the-clock.browseSpaces

off-the-clock.us

Documentation

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.

main query

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.

Parameters

cursor string Optional

The last record key of the page before.

limit integer Optional

No description available.

Output

Encodingapplication/json
cursor string Optional

No description available.

spaces array Required

No description available.

Errors

InvalidRequest
NotSpaceMember
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
The last record key of the page before.
View raw schema
{
  "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 object

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

avatar string uri Required

A valid URI.

cid string cid Required

A content identifier (CID) referencing immutable data.

description string Required

No description available.

displayName string Required

No description available.

hasPolicy boolean Required

No description available.

header string uri Required

A valid URI.

memberCount integer Required

No description available.

minimum: 0
space string at-uri Required

The space's content space.

tid string tid Required

The pair's TID: the profile's record key.

uri string at-uri Required

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

viewerIsMember boolean Required

No description available.

View raw schema
{
  "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"
    },
    "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",
    "memberCount",
    "viewerIsMember",
    "hasPolicy"
  ],
  "type": "object"
}

Lexicon Garden

@