From 63ea1e72102300432d34ab4aca3aa993071b05fc Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 21:59:47 +0000 Subject: [PATCH] Document the My Apps menu setting (CP-9302) GET and PATCH /my_apps_menu, from MakerbleDev/makerble#18022. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01F1a5xrXuupYnB8AJFKHiDt --- openapi.yaml | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++ server.js | 22 ++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 9817fd9..5ec2761 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -211,6 +211,10 @@ tags: Focus under Today: one list of everything that needs the signed-in user, grouped by when it's due (Overdue, Today, This week, Later) and filtered by type. The first source is Checklist Actions: the next step on each Contact's Checklist that the user is responsible for. + - name: My Apps menu + description: | + Whether the My Apps button shows in the signed-in user's top menu, as chosen under + Personal Settings › Preferences. Contacts with a login and Survey Portal users have no My Apps menu. - name: Start page description: | The page the signed-in user lands on after signing in, and whenever they click Home or the @@ -19137,6 +19141,63 @@ paths: "422": $ref: '#/components/responses/UnprocessableEntity' + /my_apps_menu: + get: + tags: [My Apps menu] + summary: Get whether My Apps shows in your top menu + description: | + Whether the My Apps button shows in your top menu, as chosen under Personal Settings › Preferences + › Show My Apps in the top menu. Colleagues who joined before this setting existed have it on; new + colleagues start with it off. `offered` is false for Contacts with a login and Survey Portal users, + who have no My Apps menu. + operationId: getMyAppsMenu + security: [{tokenAuth: []}] + responses: + "200": + description: Whether My Apps shows in your top menu + content: + application/json: + schema: + $ref: '#/components/schemas/MyAppsMenu' + example: + offered: true + shown: false + "401": + $ref: '#/components/responses/Unauthorized' + patch: + tags: [My Apps menu] + summary: Show or hide My Apps in your top menu + description: | + Show or hide the My Apps button in your top menu, as Personal Settings › Preferences › Show My Apps + in the top menu does. Saved for you only; it takes effect the next time a page loads in full. + Refused for Contacts with a login and Survey Portal users, who have no My Apps menu. + operationId: updateMyAppsMenu + security: [{tokenAuth: []}] + requestBody: + required: true + content: + application/json: + schema: + type: object + required: [shown] + properties: + shown: + type: boolean + description: true to show My Apps in your top menu, false to hide it + example: + shown: false + responses: + "200": + description: The setting after the change + content: + application/json: + schema: + $ref: '#/components/schemas/MyAppsMenu' + "401": + $ref: '#/components/responses/Unauthorized' + "422": + $ref: '#/components/responses/UnprocessableEntity' + /start_page: get: tags: [Start page] @@ -22753,6 +22814,16 @@ components: type: string nullable: true description: The finished message, e.g. "12 contacts changed. 3 skipped …"; null until it has finished + MyAppsMenu: + type: object + required: [offered, shown] + properties: + offered: + type: boolean + description: False for Contacts with a login and Survey Portal users, who have no My Apps menu + shown: + type: boolean + description: True while the My Apps button shows in your top menu StartPage: type: object required: [start_page, options] diff --git a/server.js b/server.js index 0ed3d40..e34eb88 100644 --- a/server.js +++ b/server.js @@ -1005,6 +1005,7 @@ function buildDocsPage() { GETFocus GETSnapshot GETStart page + GETMy Apps menu GETRatio Sets GETCase Forms @@ -5575,6 +5576,27 @@ function buildDocsPage() { + +
+
Navigation
+

My Apps menu

+
+

Whether the My Apps button shows in your top menu. You choose it under Personal Settings › Preferences › Show My Apps in the top menu. Colleagues who joined before this setting existed have it on; new colleagues start with it off, as the Project Toolbar and sidebar take them to the same places.

+

Contacts with a login and Survey Portal users have no My Apps menu, so offered is false for them and the setting can't be changed.

+
+
+ ${endpointCard("GET", "/my_apps_menu", "Get whether My Apps shows", true, [], [ + { code: "200", cls: "response-2xx", desc: "{offered, shown}" } + ])} + ${endpointCard("PATCH", "/my_apps_menu", "Show or hide My Apps", true, [ + { name: "shown", in: "body", type: "boolean", required: true, desc: "true to show My Apps in your top menu, false to hide it" } + ], [ + { code: "200", cls: "response-2xx", desc: "{offered, shown}, as GET returns" }, + { code: "422", cls: "response-4xx", desc: "shown is not true or false, or you have no My Apps menu" } + ], "Saved for you only. It takes effect the next time a page loads in full.")} +
+
+
Today