oficina / slides Public

docs: fontFiles can be set by agents but loads only from the owner's library

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev f044b7b934c8aaa720829d5630241cba6a71d990 parent e562ade
1 file changed, +6 −5
  • docs/api.md +6 −5
diff --git a/docs/api.md b/docs/api.md
index 36c1f2c..8d988d3 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -413,11 +413,12 @@ deck, as a list of `{family, css, faces}`. `css` is the name the deck
styles it by, and each face gives its file's `ref`, `format` (`ttf`,
`otf`, `woff` or `woff2`), `weight` as `[min, max]`, and `italic` and
`pictures` flags. It is left out of the document when the deck has none.
-You can read it, but you can't add fonts through the API yet: a
-`set_meta` carrying `fontFiles` is for the editor, and a list that
-doesn't check out (more than 32 families or 16 faces to a family, a
-`css` used twice, a bad `ref`, `format` or `weight`) is refused like any
-other bad op.
+A `set_meta` can set `fontFiles` or clear it with `null`, but the API
+can't upload font bytes, and the server serves a font only through a deck
+that recorded it from its owner's library. A `ref` you write by hand
+loads nothing until then. A list that doesn't check out (more than 32
+families or 16 faces to a family, a `css` used twice, a bad `ref`,
+`format` or `weight`) is refused like any other bad op.
```sh
curl -X POST -H "Authorization: Bearer $SLIDES_TOKEN" -H "Content-Type: application/json" \