intro_key whose Intro has no animation, a storyboard that breaks the rules, a file that isn't a PNG, JPG, GIF or WebP image or is over 5 MB, or the name change animation for a place" }
- ], "Body: scope_type and scope_id (whose announcement; leave out for one of Makerble's own), title (headline, up to 90), body (message, up to 280), visual_type, name_changes: [{old_name, new_name}] (1 to 3), vimeo_url, image and image_alt (for image: a PNG, JPG, GIF or WebP file of up to 5 MB, sent as a file in a multipart/form-data request or in JSON as {filename, data} with the data in base64, and its alt text, up to 250 characters, both required), intro_key (for intro_animation), storyboard (for storyboard), learn_more_url (a Makerble User Guide page for Makerble's own; any https page for a place's), training_material_id (a place's announcement only: one of its Organisation's Training materials, linked for the colleagues it is shared with), button_label (default \"Got it\"), button_deep_link (Makerble's own only: a deep link name from List Deep Links; the button then opens that page in the person's own organisation and closes the popup), feature_tour_id (Makerble's own only: a feature tour; while it is live the button says \"Take the tour\" and starts it), audience, roles, audience_rules and page_keys (Makerble's own only; see above), starts_on, ends_on, status.")}
+ ], "Body: scope_type and scope_id (whose announcement; leave out for one of Makerble's own), title (headline, up to 90), body (message, up to 280), visual_type, name_changes: [{old_name, new_name}] (1 to 3), vimeo_url, image and image_alt (for image: a PNG, JPG, GIF or WebP file of up to 5 MB, sent as a file in a multipart/form-data request or in JSON as {filename, data} with the data in base64, and its alt text, up to 250 characters, both required), intro_key (for intro_animation), storyboard (for storyboard), learn_more_url (a Makerble User Guide page for Makerble's own; any https page for a place's), training_material_id (a place's announcement only: one of its Organisation's Training materials, linked for the colleagues it is shared with), button_label (default \"Got it\"), button_deep_link (Makerble's own only: a deep link name from List Deep Links; the button then opens that page in the person's own organisation and closes the popup), feature_tour_id (Makerble's own only: a feature tour; while it is live the button says \"Take the tour\" and starts it), feature_launch_id (Makerble's own only: the feature launch it announces; wherever body, learn_more_url, button_deep_link or feature_tour_id is empty the launch's own is used, so body may be left empty while the launch has a short description), audience, roles, audience_rules and page_keys (Makerble's own only; see above), starts_on, ends_on, status.")}
${endpointCard("PATCH", "/announcements/{id}", "Update an Announcement", true, [
{ name: "id", in: "path", type: "integer", required: true, desc: "Announcement ID" }
], [
@@ -4779,6 +4780,47 @@ function buildDocsPage() {
+
+ A feature launch is one record per Makerble feature holding its launch content: the feature's name as people see it in Makerble (such as Registers), its tier (minor, standard or major), the short_description its announcements show, a longer email_description for the feature launch emails, its links (user_guide_url, blog_url, deep_link, feature_tour_id, intro_key), its email visual (gif, still_frame, image or none) and which of its links the email shows (email_primary_link as the main button and up to two email_text_links).
An announcement for a launch (feature_launch_id on the announcement) shows the launch's short description, User Guide link, deep link and feature tour wherever it has none of its own. System Access users (Makerble staff) only; anyone else gets 403.
name (required, unique), tier, short_description (up to 280), email_description (2 to 4 sentences, up to 600), user_guide_url (a Makerble User Guide page), blog_url (https), deep_link (a name from List Deep Links), feature_tour_id, intro_key, email_visual, email_visual_alt (required unless the visual is none), email_image (for image: a file in a multipart/form-data request, or {filename, data} in base64), email_primary_link and email_text_links (each deep_link, tour, user_guide or blog, one the launch has), jira_keys, released_on.")}
+ ${endpointCard("PATCH", "/feature_launches/{id}", "Update a feature launch", true, [
+ { name: "id", in: "path", type: "integer", required: true, desc: "Feature launch ID" }
+ ], [
+ { code: "200", cls: "response-2xx", desc: "Feature launch 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" }
+ ], "Only the fields sent change; null or an empty string clears one. jira_keys and email_text_links replace the whole list. A new email_image replaces the saved one, and changing email_visual away from image removes it.")}
+