From b6b6163f8aee0c14943b9cd825c4b1be010b876b Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 22:58:28 +0000 Subject: [PATCH] Document the Wishlist endpoints (CP-9055) Adds GET and POST /wishes (your own feature requests and feedback) and GET, POST and PATCH /roadmap_items (Coming soon) to openapi.yaml under a new Wishlist tag, with the matching cards and nav link in server.js. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01F1a5xpH4PFEjAX8LRypVLX --- openapi.yaml | 259 +++++++++++++++++++++++++++++++++++++++++++++++++++ server.js | 48 ++++++++++ 2 files changed, 307 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index f69e364..27f9cca 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -165,6 +165,8 @@ tags: description: Guided tours of Makerble's own pages for new colleagues, written by Makerble staff; Organisation Admins choose how strict they are - name: Announcements description: '"What''s new in Makerble" popups, written and scheduled by Makerble staff in Site Overview' + - name: Wishlist + description: The gift icon's Wishlist - your feature requests and feedback, and what Makerble is building next (Coming soon) - name: Albums description: Albums (Bundles; being renamed Portfolios on screen) group Projects so their results can be seen together - name: Age Bands @@ -835,6 +837,156 @@ paths: $ref: '#/components/responses/NotFound' "422": $ref: '#/components/responses/UnprocessableEntityList' + /wishes: + get: + tags: [Wishlist] + summary: List your Wishlist + description: | + Lists your own feature requests and feedback from Wishlist › Your wishlist (the gift icon), newest + first, with where each one is. You only ever see your own, never a colleague's. A feature request + also goes to Makerble's Helpdesk; `status` then follows it ("Received", "We are looking at this", + "Estimate sent to your bill payer", "Being built", "Shipped" and so on). Feedback stays in Makerble + and reads "Read by the Makerble team". + operationId: listWishes + security: [{tokenAuth: []}] + parameters: + - $ref: '#/components/parameters/Page' + - $ref: '#/components/parameters/PerPage' + - $ref: '#/components/parameters/LastSyncDatetime' + responses: + "200": + description: Paginated Wishes + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedWishes' + "401": + $ref: '#/components/responses/Unauthorized' + post: + tags: [Wishlist] + summary: Request a feature or give feedback + description: | + Sends a feature request or feedback, as Wishlist › Your wishlist does. A feature request goes to + Makerble's Helpdesk; if it needs custom work, Makerble sends an estimate to your organisation's + bill payer, not to you. Feedback stays in Makerble. Don't include details of people you support. + `charity_id` says which of your organisations it's about. It must be one you belong to; leave it + out if you belong to only one. + operationId: createWish + security: [{tokenAuth: []}] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/WishInput' + example: + kind: feature_request + body: Remind me when a register hasn't been filled in by the end of the day. + responses: + "201": + description: The Wish you sent + content: + application/json: + schema: + $ref: '#/components/schemas/Wish' + "401": + $ref: '#/components/responses/Unauthorized' + "422": + $ref: '#/components/responses/UnprocessableEntityList' + /roadmap_items: + get: + tags: [Wishlist] + summary: List Coming soon + description: | + What Makerble has committed to building, as Wishlist › Coming soon shows it: published items, + Building now before Up next, each in order. There are no dates. System Access users (Makerble + staff) also see unpublished items, and `stale` flags any unchanged for 60 days. + operationId: listRoadmapItems + security: [{tokenAuth: []}] + parameters: + - $ref: '#/components/parameters/Page' + - $ref: '#/components/parameters/PerPage' + - $ref: '#/components/parameters/LastSyncDatetime' + responses: + "200": + description: Paginated Coming soon items + content: + application/json: + schema: + $ref: '#/components/schemas/PaginatedRoadmapItems' + "401": + $ref: '#/components/responses/Unauthorized' + post: + tags: [Wishlist] + summary: Create a Coming soon item + description: | + Adds an item to Coming soon, at the end of its stage, as Site Overview › Coming soon does. Write it + in customer language, with no dates. Nobody but Makerble staff sees it until `published` is true. + System Access users only. + operationId: createRoadmapItem + security: [{tokenAuth: []}] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/RoadmapItemInput' + example: + title: Formula Trackers + body: Add metrics together to show a combined result. + stage: up_next + published: true + responses: + "201": + description: The created item + content: + application/json: + schema: + $ref: '#/components/schemas/RoadmapItem' + "401": + $ref: '#/components/responses/Unauthorized' + "403": + $ref: '#/components/responses/ForbiddenError' + "422": + $ref: '#/components/responses/UnprocessableEntityList' + /roadmap_items/{id}: + parameters: + - name: id + in: path + required: true + schema: + type: integer + patch: + tags: [Wishlist] + summary: Update a Coming soon item + description: | + Changes only the fields sent. Moving an item to another stage puts it at the end of that stage. + Set `published` to false to take it out of Coming soon. System Access users only. + operationId: updateRoadmapItem + security: [{tokenAuth: []}] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/RoadmapItemInput' + example: + stage: building_now + responses: + "200": + description: The updated item + content: + application/json: + schema: + $ref: '#/components/schemas/RoadmapItem' + "401": + $ref: '#/components/responses/Unauthorized' + "403": + $ref: '#/components/responses/ForbiddenError' + "404": + $ref: '#/components/responses/NotFound' + "422": + $ref: '#/components/responses/UnprocessableEntityList' /tours: get: tags: [Welcome Tours] @@ -15188,6 +15340,113 @@ components: type: array items: $ref: '#/components/schemas/Announcement' + Wish: + type: object + description: A feature request or feedback from Wishlist › Your wishlist + properties: + id: + type: integer + kind: + type: string + enum: [feature_request, feedback] + body: + type: string + status: + type: string + description: Where it is, as the person sees it, e.g. "Received", "Read by the Makerble team" or "Shipped". + helpdesk_key: + type: string + nullable: true + description: The Helpdesk ticket a feature request became (e.g. MC-2501), once it exists. + charity_id: + type: integer + nullable: true + description: The organisation it's about. + announcement_id: + type: integer + nullable: true + description: The Announcement that answered it, if one has. + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + WishInput: + type: object + required: [kind, body] + properties: + kind: + type: string + enum: [feature_request, feedback] + body: + type: string + maxLength: 2000 + charity_id: + type: integer + description: One of your organisations. Needed only if you belong to more than one. + PaginatedWishes: + allOf: + - $ref: '#/components/schemas/PaginationEnvelope' + - type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/Wish' + RoadmapItem: + type: object + description: Something in Wishlist › Coming soon + properties: + id: + type: integer + title: + type: string + body: + type: string + stage: + type: string + enum: [building_now, up_next] + stage_label: + type: string + enum: [Building now, Up next] + position: + type: integer + description: Its order within its stage. + published: + type: boolean + stale: + type: boolean + description: Unchanged for 60 days. + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + RoadmapItemInput: + type: object + properties: + title: + type: string + maxLength: 90 + body: + type: string + maxLength: 280 + stage: + type: string + enum: [building_now, up_next] + published: + type: boolean + PaginatedRoadmapItems: + allOf: + - $ref: '#/components/schemas/PaginationEnvelope' + - type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/RoadmapItem' BulkProjectMove: type: object description: A move of many Contacts through Projects, and how far it has got diff --git a/server.js b/server.js index 1d57e26..de3c1ce 100644 --- a/server.js +++ b/server.js @@ -977,6 +977,7 @@ function buildDocsPage() { GETSeats GETUsage POSTAnnouncements + POSTWishlist POSTWelcome Tours + +
+
Integrations
+

Wishlist

+
+

Wishlist is the page behind the gift icon. Your wishlist holds the feature requests and feedback a person has sent, and where each one is; you only ever see your own, never a colleague's. A feature request also goes to Makerble's Helpdesk, and its status follows it: "Received", "We are looking at this", "Estimate sent to your bill payer", "Being built", "Shipped" and so on. Feedback stays in Makerble and reads "Read by the Makerble team".

+

Coming soon (Roadmap items) is what Makerble has committed to building, under building_now and up_next, with no dates. Everyone can read the published items. Makerble staff (System Access) also see unpublished ones, can create and change them, and see stale on any unchanged for 60 days. Anyone else gets 403 when writing. What's new is Announcements.

+
+
+ ✓ + Before you send a request: don't include details of people you support. If a feature request needs custom work, Makerble sends an estimate to the organisation's bill payer, not to the person who asked. +
+
+ ${endpointCard("GET", "/wishes", "List your Wishlist", true, [ + { name: "page", type: "integer", required: false, desc: "Page number" }, + { name: "per_page", type: "integer", required: false, desc: "Records per page (default 10, max 200)" }, + { name: "last_synced_datetime", type: "string", required: false, desc: "ISO 8601 incremental sync" } + ], [ + { code: "200", cls: "response-2xx", desc: "Paginated Wishes, your own only, newest first, each with kind, status and, for a feature request, its helpdesk_key once the ticket exists" } + ])} + ${endpointCard("POST", "/wishes", "Request a feature or give feedback", true, [], [ + { code: "201", cls: "response-2xx", desc: "The Wish you sent. A feature request shows \"Received\" straight away" }, + { code: "422", cls: "response-4xx", desc: "Validation failed, e.g. empty text, an unknown kind, or an organisation you're not part of" } + ], "Body: kind (feature_request or feedback), body (up to 2,000 characters), charity_id (which of your organisations it's about; needed only if you belong to more than one).")} + ${endpointCard("GET", "/roadmap_items", "List Coming soon", true, [ + { name: "page", type: "integer", required: false, desc: "Page number" }, + { name: "per_page", type: "integer", required: false, desc: "Records per page (default 10, max 200)" }, + { name: "last_synced_datetime", type: "string", required: false, desc: "ISO 8601 incremental sync" } + ], [ + { code: "200", cls: "response-2xx", desc: "Paginated items, Building now before Up next, each in order. Published items only, unless you have System Access" } + ])} + ${endpointCard("POST", "/roadmap_items", "Create a Coming soon item", true, [], [ + { code: "201", cls: "response-2xx", desc: "Item created, at the end of its stage" }, + { code: "403", cls: "response-4xx", desc: "The user doesn't have System Access" }, + { code: "422", cls: "response-4xx", desc: "Validation failed, e.g. no title, or a description over 280 characters" } + ], "Body: title (up to 90), body (up to 280, in customer language, no dates), stage (building_now or up_next), published.")} + ${endpointCard("PATCH", "/roadmap_items/{id}", "Update a Coming soon item", true, [ + { name: "id", in: "path", type: "integer", required: true, desc: "Item ID" } + ], [ + { code: "200", cls: "response-2xx", desc: "Item updated" }, + { code: "403", cls: "response-4xx", desc: "The user doesn't have System Access" }, + { code: "404", cls: "response-4xx", desc: "Not found" }, + { code: "422", cls: "response-4xx", desc: "Validation failed" } + ], "Same body as create; only the fields sent change. Moving an item to another stage puts it at the end of that stage. Set published to false to take it out of Coming soon.")} +
+
+
Integrations