announcements

How the note stands in the app — mark, media, presses or a whole JSX face. Every owner who has not seen it yet gets this look on his next open; the desks' words are untouched.

put/v1/ops/announcements/{announcement_id}/look

Request

  • Base URL: https://api.stormy.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.stormy.ai/v1/ops/announcements/{announcement_id}/look
  • Auth: none declared

Path parameters

announcement_idstring uuid required

Headers

authorizationstring nullable
x-darwin-tokenstring nullable

Request body

markstring

'stormy', an app's slug ('slack') or an image URL; empty = read from the note's link.

facestring

A function Screen() of JSX, mounted inside the house's frame with the renderer every page uses. In scope: note (title, body, url, look); the presses as verbs act(action), open(href), connect(app), ask(words), close(); and the house's parts <Mark/>, <Media/>, <Presses/>, <Default/>. The frame is narrow (a 420px window, a phone sheet): the house reflows grid-cols-N to fewer columns there unless the grid carries data-hold-columns. One that does not compile or throws falls back to the house's sheet.

Response

Successful Response

markstring

'stormy', an app's slug ('slack') or an image URL; empty = read from the note's link.

facestring

A function Screen() of JSX, mounted inside the house's frame with the renderer every page uses. In scope: note (title, body, url, look); the presses as verbs act(action), open(href), connect(app), ask(words), close(); and the house's parts <Mark/>, <Media/>, <Presses/>, <Default/>. The frame is narrow (a 420px window, a phone sheet): the house reflows grid-cols-N to fewer columns there unless the grid carries data-hold-columns. One that does not compile or throws falls back to the house's sheet.

Changes