WIP! A BB-style forum, on the ATmosphere!
We're still working... we'll be back soon when we have something to show off!
node
typescript
hono
htmx
atproto
1meta {
2 name: Get Board
3 type: http
4 seq: 2
5}
6
7get {
8 url: {{appview_url}}/api/boards/1
9}
10
11assert {
12 res.status: eq 200
13 res.body.id: isDefined
14 res.body.name: isDefined
15 res.body.uri: isDefined
16}
17
18docs {
19 Returns a single board by ID.
20
21 Path params:
22 - id: Board ID (integer)
23
24 Returns:
25 {
26 "id": "1",
27 "did": "did:plc:...",
28 "uri": "at://did:plc:.../space.atbb.forum.board/rkey",
29 "name": "General Discussion",
30 "description": "A place for general topics",
31 "categoryId": "1",
32 "categoryUri": "at://did:plc:.../space.atbb.forum.category/rkey",
33 "slug": null,
34 "sortOrder": null,
35 "createdAt": "...",
36 "indexedAt": "..."
37 }
38
39 Error codes:
40 - 400: Invalid board ID (non-integer)
41 - 404: Board not found
42 - 500: Server error
43}