Archived
WIP 1.51.14: GET /me carries the session fields the app needs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls1vMdg2GYqbnKZmPaX1ot
This commit is contained in:
@@ -12649,7 +12649,7 @@
|
||||
"Me"
|
||||
],
|
||||
"summary": "The signed-in person",
|
||||
"description": "**Who:** Any signed-in person.",
|
||||
"description": "With what the app asks after sign-in (`newsPromptPending`, `noticePromptPending`), whether two-step sign-in is required for their role, and the campuses they're limited to (`campusScope`, null = every campus). Viewing as someone else never prompts.\n\n**Who:** Any signed-in person.",
|
||||
"operationId": "getMe",
|
||||
"security": [
|
||||
{
|
||||
@@ -12721,6 +12721,43 @@
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
|
||||
},
|
||||
"twoFactorRequired": {
|
||||
"type": "boolean",
|
||||
"description": "Their role must use two-step sign-in"
|
||||
},
|
||||
"newsPromptPending": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"noticePromptPending": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean",
|
||||
"const": false
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"first",
|
||||
"updated"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"campusScope": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 64
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -12732,7 +12769,11 @@
|
||||
"twoFactorEnabled",
|
||||
"notificationPreference",
|
||||
"homeCampusId",
|
||||
"createdAt"
|
||||
"createdAt",
|
||||
"twoFactorRequired",
|
||||
"newsPromptPending",
|
||||
"noticePromptPending",
|
||||
"campusScope"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user