Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18223,6 +18223,14 @@ components:
type: string
maxLength: 24
description: Defaults to "Got it".
button_deep_link:
type: string
nullable: true
description: |
Makerble's own only. Where the button goes: the `name` of a deep link from List Deep Links, such as
`checklists`. The button then opens that page in the person's own organisation and closes the popup; give it a
label that says where it goes ("Explore Checklists"). For someone who can't open the page, it only closes the
popup. A live `feature_tour_id` takes priority. Send null to clear it.
audience:
type: string
enum: [everyone, colleagues, administrators]
Expand Down Expand Up @@ -18470,6 +18478,13 @@ components:
learn_more_click_count:
type: integer
description: People who clicked its "Learn more" link.
button_deep_link:
type: string
nullable: true
description: The deep link the button opens, or null when it only closes the popup.
button_click_count:
type: integer
description: People who clicked the button through to its page.
created_by_id:
type: integer
nullable: true
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4548,7 +4548,7 @@ function buildDocsPage() {
{ code: "403", cls: "response-4xx", desc: "The user doesn't hold the role on that place, or (with no place) doesn't have System Access" },
{ code: "404", cls: "response-4xx", desc: "The Organisation, Workspace or Team doesn't exist" },
{ code: "422", cls: "response-4xx", desc: "Validation failed, e.g. no headline, a headline over 90 characters, a Vimeo visual with a YouTube link, an image without alt text, an <code>intro_key</code> 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: <code>scope_type</code> and <code>scope_id</code> (whose announcement; leave out for one of Makerble's own), <code>title</code> (headline, up to 90), <code>body</code> (message, up to 280), <code>visual_type</code>, <code>name_changes: [{old_name, new_name}]</code> (1 to 3), <code>vimeo_url</code>, <code>image</code> and <code>image_alt</code> (for <code>image</code>: a PNG, JPG, GIF or WebP file of up to 5 MB, sent as a file in a <code>multipart/form-data</code> request or in JSON as <code>{filename, data}</code> with the data in base64, and its alt text, up to 250 characters, both required), <code>intro_key</code> (for <code>intro_animation</code>), <code>storyboard</code> (for <code>storyboard</code>), <code>learn_more_url</code> (a Makerble User Guide page for Makerble's own; any https page for a place's), <code>training_material_id</code> (a place's announcement only: one of its Organisation's Training materials, linked for the colleagues it is shared with), <code>button_label</code> (default \"Got it\"), <code>feature_tour_id</code> (Makerble's own only: a feature tour; while it is live the button says \"Take the tour\" and starts it), <code>audience</code>, <code>roles</code>, <code>audience_rules</code> and <code>page_keys</code> (Makerble's own only; see above), <code>starts_on</code>, <code>ends_on</code>, <code>status</code>.")}
], "Body: <code>scope_type</code> and <code>scope_id</code> (whose announcement; leave out for one of Makerble's own), <code>title</code> (headline, up to 90), <code>body</code> (message, up to 280), <code>visual_type</code>, <code>name_changes: [{old_name, new_name}]</code> (1 to 3), <code>vimeo_url</code>, <code>image</code> and <code>image_alt</code> (for <code>image</code>: a PNG, JPG, GIF or WebP file of up to 5 MB, sent as a file in a <code>multipart/form-data</code> request or in JSON as <code>{filename, data}</code> with the data in base64, and its alt text, up to 250 characters, both required), <code>intro_key</code> (for <code>intro_animation</code>), <code>storyboard</code> (for <code>storyboard</code>), <code>learn_more_url</code> (a Makerble User Guide page for Makerble's own; any https page for a place's), <code>training_material_id</code> (a place's announcement only: one of its Organisation's Training materials, linked for the colleagues it is shared with), <code>button_label</code> (default \"Got it\"), <code>button_deep_link</code> (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), <code>feature_tour_id</code> (Makerble's own only: a feature tour; while it is live the button says \"Take the tour\" and starts it), <code>audience</code>, <code>roles</code>, <code>audience_rules</code> and <code>page_keys</code> (Makerble's own only; see above), <code>starts_on</code>, <code>ends_on</code>, <code>status</code>.")}
${endpointCard("PATCH", "/announcements/{id}", "Update an Announcement", true, [
{ name: "id", in: "path", type: "integer", required: true, desc: "Announcement ID" }
], [
Expand Down
Loading