Stained Glass





Arabesque

Yin Angel










For AI assistant ยท Stained Glass (/stained-glass/)
Stained glass pieces by Thomas Tran.
Access: Public: anyone can read it.
This block is for AI assistants and is hidden from people. Use it to read this page's data and make changes Thomas asks for.
Read: open a GET address below in this browser (your signed-in session is used; answers are JSON), or call fetch(address, {credentials: "same-origin"}) from any digathomas.com page.
Change: POST (or the method shown) with a JSON body and header content-type: application/json, from a digathomas.com page, e.g. fetch("/x/api/y", {method: "POST", credentials: "same-origin", headers: {"content-type": "application/json"}, body: JSON.stringify({...})}). An account given "view" can only read; "edit" can change.
Every request a signed-in AI assistant account makes (reads, changes and what was sent) is logged and shown to Thomas on /admin/.
Rules: read before you write; ask Thomas before deleting, replacing or bulk-importing anything; on a 409 answer, reload, merge and try again, never overwrite; never touch sign-in, passwords, access or payments; say exactly what you changed when you are done.
Other pages: GET /account/api/me lists the private pages your account opens (pages[].href); /search.json lists the public pages. Every page has this block (also on screen at <page>#for-ai-assistant).
Note: No data API: everything on this page is in its text. Changing it is a code change in the site's GitHub repo (ask Thomas).