-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdescription.json
More file actions
71 lines (71 loc) · 2.14 KB
/
description.json
File metadata and controls
71 lines (71 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "Description",
"access": {
"anon": "Can read public descriptions.",
"user": "When signed in and not suspended, can maintain descriptions.",
"admin": "Can review and maintain descriptions in the admin backend.",
"agent": "No general description tools are currently provided."
},
"rules": {
"supplement-not-comment": "Description is a Markdown supplement on an object, not equivalent to comments expressing personal opinions.",
"attached-object-types": "Attached objects include courses, sections, teachers, homework, and similar.",
"platform-maintained": "When descriptions conflict with personal experiences in comments, descriptions are treated as platform-maintained information by default."
},
"capabilities": {
"object-description-section": {
"title": "Object Description Section",
"auth": "anon",
"web": "stable",
"rest": {
"routes": [
{
"path": "/api/descriptions",
"returns": "{ description, history, viewer }"
},
{
"path": "/api/descriptions",
"method": "POST",
"returns": "{ id: String, updated: Boolean }",
"auth": "user"
}
]
},
"mcp": "unavailable",
"display": {
"fields": [
"description.content (markdown-rendered)",
"description.lastEditedBy.name",
"description.lastEditedAt / updatedAt",
"Edit button (if authorized)",
"history count",
"history editor",
"previous/updated diff content"
]
}
},
"description-governance": {
"title": "Description Governance",
"auth": "admin",
"web": {
"pages": ["/admin/moderation"]
},
"rest": {
"routes": [
{
"path": "/api/admin/descriptions",
"returns": "{ descriptions: Description[] }"
}
]
},
"mcp": "unavailable",
"display": {
"fields": [
"description.content / preview",
"object target",
"lastEditedBy name",
"timestamp"
]
}
}
}
}