Websites
Sites, pages, templates, data sources, builds, deployments and experiments.
Scopes for this area: hosting:read, hosting:write and hosting:admin.
144 operations
data source
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /datasources | The databases linked to this project, read-only. | read | rivier hosting data source list |
| GET | /datasources/{id} | One link with its last snapshot (names, types, row estimates; never rows). | read | rivier hosting data source get |
| POST | /datasources | Link a Furcate database by id; the database service checks the read role was made for this project. | write | rivier hosting data source link |
| POST | /datasources/{id}/refresh | Take a fresh snapshot and check the link is still reachable. | write | rivier hosting data source refresh |
| DELETE | /datasources/{id} | Remove a link; nothing stays readable. | write | rivier hosting data source unlink |
| PUT | /datasources/{id}/allow | Choose the tables the project may read (only tables the operator granted). | write | rivier hosting data source allow |
| PUT | /datasources/{id}/write-rules | Per-table write rules; nothing writes without one and an approval. | write | rivier hosting data source write rules |
| POST | /datasources/{id}/read | A plan by default; with execute, up to 500 masked rows of one allowed table. | write | rivier hosting data source read |
| POST | /datasources/{id}/shares | Put one fixed read of an allowed table behind an address for 7, 30 or 90 days. Done by a person; no personal or restricted column. | write | rivier hosting data source share |
| DELETE | /datasources/{id}/shares/{sid} | Remove a shared address; it shows nothing from then on. | write | rivier hosting data source unshare |
| GET | /datasources/{id}/mappings | Proposed mappings of tables to contacts, products, orders and content. | read | rivier hosting data source mappings |
| POST | /datasources/{id}/mappings/{mid} | Accept or reject a proposed mapping. | write | rivier hosting data source decide mapping |
| POST | /datasources/{id}/ingest | Copy up to 100 rows of an allowed table into memory, on purpose. | write | rivier hosting data source ingest |
| POST | /datasources/{id}/aggregate | Counted and summed figures over a whole allowed table, computed by the database: one to five measures, up to three groupings, a time grain, conditions. A personal column may be counted, not grouped by or shown; a restricted one is used nowhere. | read | rivier hosting data source aggregate |
metric
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /datasources/metrics | The project's named metrics: each one's approved version (what it counts, from where, approved by whom) and whether a change waits for approval. | read | rivier hosting metric list |
| GET | /datasources/metrics/{name} | Every version of one metric, with who wrote and who approved it. | read | rivier hosting metric versions |
| PUT | /datasources/metrics/{name} | Write a metric once: what is counted (count, sum, average...), from which allowed table, with which conditions, by which dimensions and time column. A change makes a new draft; the approved version stays in use until a person approves the new one. The definition is tried over the whole table before it is kept. | write | rivier hosting metric draft |
| POST | /datasources/metrics/{name}/approve | A person who manages the project approves the waiting draft; it becomes the version every screen, report and assistant reads. | write | rivier hosting metric approve |
| DELETE | /datasources/metrics/{name} | Stop a metric being read; its versions stay on record. | write | rivier hosting metric retire |
| POST | /datasources/metrics/{name}/value | The figure of a named metric, as its approved version defines it: over a period, by day, week, month, quarter or year, broken down by its allowed dimensions, computed over the whole table. | read | rivier hosting metric value |
protection
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /protection | Whether Protection is on for the project, the site key, the addresses it covers, how many writes went unchecked this week, and the script line and verify call for a site not built in Rivier. Says plainly when this deployment has no Protection set up. | read | rivier hosting protection get |
| POST | /protection/on | Turn Protection on: the public forms of the project's site ask for a quiet check and the API confirms it before it accepts a write. Creates the Shield site on first use and returns its secret once; repeat to get the same state. Protection never takes a site down: if Shield cannot be reached a write is accepted and counted as unchecked. It is not proof of a human. | write | rivier hosting protection on |
| POST | /protection/off | Turn Protection off: writes are accepted without a check. Nothing is deleted. | write | rivier hosting protection off |
| POST | /protection/rotate | Change the site secret (shown once); the old one stops working. A person does this in the app. | write | rivier hosting protection rotate |
| GET | /protection/report | The last seven days in numbers: people who saw nothing, callers asked for one touch, refused, declared agents, writes accepted unchecked, and what needs doing. | read | rivier hosting protection report |
| GET | /protection/agents | The rule for declared agents (a site default: welcome, read_only, refuse, accountable_only) and the rule per named agent (welcome, read_only, ceiling with a per-minute limit, refuse), each with whether an accountable owner is on record. A signature proves control of a key directory, not good intent; an agent that does not declare itself is not covered. | read | rivier hosting protection agents |
| PUT | /protection/agents | Set the rule for declared agents: `default` and/or `agents` (host of the agent's key directory to { mode, perMinute (only with ceiling), note }). A field sent replaces that field whole, so send the full list of rules; a field left out is kept. Needs a person who may configure (an agent needs approval); audited. Protection must be on. | write | rivier hosting protection setagents |
| GET | /public/protection | For a page of the site: whether Protection is on and, if so, the address of Shield's script and the site key it names. Public; a browser key may read it. | read | rivier hosting protection script |
usage
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/usage | What the plan allows this project's hosting and what is in use. | read | rivier hosting usage get |
site
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites | The sites this project hosts. | read | rivier hosting site list |
| POST | /hosting/sites | Create a site with a generated address under the platform domain. | write | rivier hosting site create |
| GET | /hosting/sites/{id} | One site. | read | rivier hosting site get |
| DELETE | /hosting/sites/{id} | Remove the site, its previews, its domains and its settings. | admin | rivier hosting site remove |
| POST | /hosting/sites/{id}/resume | After resubscribing: make a site that is kept read-only writable again. | write | rivier hosting site resume |
deployment
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/deployments | Deployments of a site, newest first. | read | rivier hosting deployment list |
| POST | /hosting/sites/{id}/deployments | Deploy the site from the request body: a gzip tar with index.html at its top. ?preview=1 makes a preview at its own address. | write | rivier hosting deployment create |
| GET | /hosting/sites/{id}/deployments/{dep} | One deployment. | read | rivier hosting deployment get |
| POST | /hosting/sites/{id}/deployments/{dep}/promote | Make a preview the production site. | write | rivier hosting deployment promote |
| POST | /hosting/sites/{id}/deployments/{dep}/rollback | Serve an earlier production deployment again. | write | rivier hosting deployment rollback |
| DELETE | /hosting/sites/{id}/deployments/{dep} | Delete a preview deployment. | admin | rivier hosting deployment remove |
env
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/env | The names of the variables set on a site. Values are never returned. | read | rivier hosting env list |
| PUT | /hosting/sites/{id}/env | Set a variable on a Next site. The value is sealed and delivered to the running site only. | write | rivier hosting env set |
| DELETE | /hosting/sites/{id}/env/{name} | Remove a variable. | admin | rivier hosting env remove |
domain
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/domains | Custom domains of a site with their state, the reason in plain words and the one thing to do next. | read | rivier hosting domain list |
| GET | /hosting/sites/{id}/domains/options | The ways to connect a name, best first (buy it, let Rivier run the DNS, connect a DNS account, one click at the registrar, add the records yourself), each with exact steps and records. | read | rivier hosting domain options |
| POST | /hosting/sites/{id}/domains | Connect a name. Control is proven by the name pointing at the site; the certificate is obtained before the first visitor. | write | rivier hosting domain add |
| POST | /hosting/sites/{id}/domains/quote | Price a name to buy through Rivier. Nothing is bought. | read | rivier hosting domain quote |
| POST | /hosting/sites/{id}/domains/buy | Buy the quoted name (a person only) and connect it. | write | rivier hosting domain buy |
| POST | /hosting/sites/{id}/domains/{dom}/renew/quote | The price to renew a name bought through Rivier for a year. Nothing is charged. | read | rivier hosting domain renew quote |
| POST | /hosting/sites/{id}/domains/renew | Renew the quoted name (a person only). | write | rivier hosting domain renew |
| PATCH | /hosting/sites/{id}/domains/{dom} | Change which form of a name is the address people see (www or apex), or whether a delegated name serves its subdomains. | write | rivier hosting domain update |
| POST | /hosting/sites/{id}/domains/{dom}/check | Look at the name now and move it along. | write | rivier hosting domain check |
| DELETE | /hosting/sites/{id}/domains/{dom} | Stop serving the site on a name and delete the DNS records Rivier wrote for it. | admin | rivier hosting domain remove |
event
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/events | The site's record: deploys, domain and variable changes, health checks. | read | rivier hosting event list |
log
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/logs | Recent runtime log lines of a Next site. | read | rivier hosting log list |
health
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/health | Fetch the site now and report whether it answers. | read | rivier hosting health get |
data
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/data | Your data in plain words: whether it is backed up and when, where it is kept, how much of the plan it uses, and anything that needs you. | read | rivier hosting data get |
| GET | /hosting/sites/{id}/data/restore-points | The earlier moments your data can be restored to. | read | rivier hosting data restore points |
| POST | /hosting/sites/{id}/data/restore | Prepare your data as it was at an earlier moment beside your current data. Nothing changes until you confirm. | write | rivier hosting data restore |
| POST | /hosting/sites/{id}/data/restore/{rid}/confirm | Switch the site to the restored data. What it had before is kept briefly. | write | rivier hosting data restore confirm |
| DELETE | /hosting/sites/{id}/data/restore/{rid} | Cancel a prepared restore and discard the prepared copy. | admin | rivier hosting data restore cancel |
| POST | /hosting/sites/{id}/data/export | Export my data: the site's records and a dump of what it stores, checked after writing. Kept 30 days. | write | rivier hosting data export |
| POST | /hosting/sites/{id}/data/erase | First step of deleting my data: makes an export and answers a token good for 15 minutes. Nothing is removed. | write | rivier hosting data erase request |
| DELETE | /hosting/sites/{id}/data/erase | Second step: present the token. The site's stored data and backups are removed; the export stays 30 days. | admin | rivier hosting data erase confirm |
export
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/exports | The exports this project holds. | read | rivier hosting export list |
| GET | /hosting/exports/{eid} | One export with its parts and checksums. | read | rivier hosting export get |
| GET | /hosting/exports/{eid}/download | Download one part of an export. | read | rivier hosting export download |
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/mail | Email in plain words: how many emails the site sent today against its daily limit, and for each live domain how many days of authentication reports have been seen and whether the DMARC policy can tighten. | read | rivier hosting mail get |
preview
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/sites/{id}/deployments/{dep}/share | A link to a preview on its own address, signed and expiring, kept out of search results. | write | rivier hosting preview share |
| DELETE | /hosting/sites/{id}/deployments/{dep}/share | Cancel every link already given out for a preview. | admin | rivier hosting preview revoke |
build
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/sites/{id}/builds | Builds of a site, newest first. | read | rivier hosting build list |
| GET | /hosting/sites/{id}/builds/{bid} | One build with its state, log and the deployment it made. | read | rivier hosting build get |
| POST | /hosting/sites/{id}/builds | Build a static site from an allow-listed repository. The build runs in a sandbox with no network and no secrets; the result is a preview to promote. | write | rivier hosting build start |
| POST | /hosting/sites/{id}/builds/upload | Build a static site from source sent as a gzip tar in the request body. | write | rivier hosting build upload |
| POST | /hosting/sites/{id}/builds/{bid}/cancel | Cancel a build that has not started. | write | rivier hosting build cancel |
library
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/design-library/entries | Search the design library: palettes, type pairings, section patterns, flows, spacing sets, tones, designs, templates and app shells and screens. Tag filters (including surface: website or app) plus a plain-words query; says whether the ranking used meaning or words only. | read | rivier hosting library search |
| GET | /hosting/design-library/facets | How many entries carry each tag value, for the filter lists. | read | rivier hosting library facets |
| GET | /hosting/design-library/featured | The sets the library's maintainers have featured. | read | rivier hosting library featured |
| GET | /hosting/design-library/entries/{entry} | One entry in full, with its checks, provenance, usage and changelog. With ?version, that exact version, whatever its state. | read | rivier hosting library get |
| GET | /hosting/design-library/entries/{entry}/similar | Entries like this one. | read | rivier hosting library similar |
| POST | /hosting/design-library/select | Ranked picks per kind for a design brief, each with reasons; hard requirements remove entries first. | read | rivier hosting library select |
| POST | /hosting/design-library/design | A complete, coherent design choice from a brief alone (every field optional): palette, type pairing, spacing and shape, sections, flow, closest template, and for apps shell, screens and component style; plus alternatives with a reason each. A brand kit (colours, fonts, voice) acts as constraints: the palette is built from the brand colours with every contrast correction reported, brand fonts without a web licence are replaced by the nearest open pairing. Deterministic and versioned (selectionVersion). | write | rivier hosting library design |
| GET | /hosting/design-library/brand-kit | The brand kit the library reads from the project's brand assets (colours, fonts and whether they have a web licence, voice words); null when there is none. The design call uses it without being given it. | read | rivier hosting library brand kit |
| POST | /hosting/design-library/palette/evaluate | Judge a palette being edited (seven colours, or brand colours with overrides): every contrast and colour-blind check with its result, the colours as seen with each kind of colour blindness, and the smallest change that fixes what fails. Stores nothing. | read | rivier hosting library evaluate palette |
| POST | /hosting/design-library/starter-kit | A first brand for someone with none: a text-mark logo, a palette and two open fonts. Always a draft. | read | rivier hosting library starter kit |
| POST | /hosting/design-library/extract-colours | Colours from a logo or a picture (sent as base64) and the readable palette built from them, with every contrast correction listed. Nothing is stored. | read | rivier hosting library extract colours |
library favourite
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/design-library/favourites | The caller's favourite entries. | read | rivier hosting library favourite list |
| PUT | /hosting/design-library/favourites/{entry} | Mark or unmark a favourite. | write | rivier hosting library favourite set |
library rating
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| PUT | /hosting/design-library/ratings/{entry} | Rate an entry from 1 to 5; one rating per project, shown to the maintainers only as an average. | write | rivier hosting library rating set |
resources
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/resources/index | The library of resources in one answer: which copy is served, how many entries each kind has, and one line per entry (what it is, what it is for, which kinds of project it suits, whether it can be used yet). | read | rivier hosting resources index |
| GET | /hosting/resources/entries | Search the library by words: components, Rivier's custom elements, the project layout and method, stacks, design resources, site-type packages, starting templates and the Praecise resources a project can have attached. Each hit says when to choose it and when to choose something else. | read | rivier hosting resources search |
| GET | /hosting/resources/entries/{kind}/{name} | One entry in full: what it takes, how it is used, what it requires, its version, licence, author and price, and the files it carries. | read | rivier hosting resources get |
| GET | /hosting/resources/entries/{kind}/{name}/file | One text file of an entry: its guide, its example, or any file of a starting tree. | read | rivier hosting resources file |
| GET | /hosting/resources/entries/{kind}/{name}/plan | The steps that using an entry takes, in order, with what it requires first. Refuses an entry that cannot be used yet. Changes nothing. | read | rivier hosting resources plan |
market
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/market | What the marketplace has switched on (selling, which version of the terms for sellers is in force, buying) and whether this project sells. | read | rivier hosting market status |
market seller
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/market/seller | Sell in the marketplace: accept the terms for sellers in force and give the name buyers see. Refused while no terms are published. | write | rivier hosting market seller set |
market submission
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/market/submissions | The entries this project offered: waiting for review, on the shelf, or refused with the reviewer's reason. | read | rivier hosting market submission list |
| POST | /hosting/market/submissions | Offer a library entry (a palette, type pairing, token set, section, flow, tone, site-type package or starting template) with its files, free or with a price. Rivier's staff review it before it is on the shelf; a newer offer of the same entry replaces one still waiting. | write | rivier hosting market submission create |
| POST | /hosting/market/submissions/archive | Offer an entry as its folder in a zip or a gzip tar in the request body: entry.json and the text files it points at, at most 2 MB of text. Checked and reviewed exactly as an offer sent as JSON. | write | rivier hosting market submission upload |
| POST | /hosting/market/submissions/{id}/withdraw | Take an offer back: one waiting is no longer reviewed, one on the shelf leaves it. Projects that bought it keep what they have. | write | rivier hosting market submission withdraw |
market sale
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/market/sales | What this project's entries sold: entry, version, price and when, without saying who bought. | read | rivier hosting market sale list |
market review
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/market/review | Offers waiting for review, oldest first. Rivier's staff only. | read | rivier hosting market review list |
| POST | /hosting/market/review/{id} | Approve an offer, which puts it on the library's shelf (replacing its earlier version), or refuse it with a reason the seller reads. Rivier's staff only. | write | rivier hosting market review decide |
market licence
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/market/licences | The priced entries this project bought, paid or with payment started. | read | rivier hosting market licence list |
| POST | /hosting/market/entries/{kind}/{name}/buy | Buy a priced entry for this project: answers the card processor's page to pay on, and the purchase waiting for payment. Refused for a free entry, one already held, and while buying is not open. | write | rivier hosting market licence buy |
| POST | /hosting/market/licences/{id}/confirm | After paying: asks the card processor whether the payment went through and, if it did, the project holds the entry and the coder may use it. | write | rivier hosting market licence confirm |
coder project
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/coder/projects | Start a website or an app that is made by conversation. Names the kind of project (Next.js today); refuses a kind that cannot be made yet. Nothing is written until the first turn. | write | rivier hosting coder project create |
| POST | /hosting/coder/projects/import | Bring an existing Next.js project in: its source as a zip or a gzip tar in the request body, up to 10 MB, without installed packages or build output. Nothing in it is run. Text files become the project's first checkpoint; pictures, fonts and the lockfile are kept beside it; secrets (.env files, keys) are never kept and are named in the answer. Refused with the reason when it is not a Next.js project. The project keeps its own conventions: the library, token and layout rules are advice for it. | write | rivier hosting coder project import |
| POST | /hosting/coder/projects/import/parts | Send one part of a project too large for one request: up to 8 parts of at most 8 MB each, in the request body as bytes, all with the same upload identifier. Sending a part again replaces it. Nothing is read until the upload is finished. | write | rivier hosting coder project import part |
| POST | /hosting/coder/projects/import/finish | Join the parts of a project sent in parts (at most 60 MB in all) and bring it in exactly as an upload in one request is brought in. The parts are removed once it is brought in or refused; a part that has not arrived is named so it can be sent again. | write | rivier hosting coder project import finish |
| POST | /hosting/coder/projects/import/cloud | Bring in a project that is already at Praecise Cloud, by its name there: the newest source Praecise Cloud keeps for it (uploaded, or imported from GitHub) becomes the project's first checkpoint, as with an upload. Asked in the signed-in person's name: they must be able to deploy to the project, and its owner must have opened it to Rivier in the Praecise Cloud console. A project that was placed without its source is refused in Praecise Cloud's own sentence. Publishing afterwards places a new release of that same project. | write | rivier hosting coder project import cloud |
| POST | /hosting/coder/projects/import/github | Start a project at Praecise Cloud that is released from a GitHub branch: a push to the branch releases it, other branches and pull requests make previews. Once its first build is done, bring it into Rivier by its Praecise Cloud name; Rivier then gives its changes as a patch for the branch. | write | rivier hosting coder project import github |
| GET | /hosting/coder/projects/{id}/changes | Every change made in Rivier since the project was brought in, as one patch git applies. How a project released from GitHub takes Rivier's work: apply it to the branch and push. | read | rivier hosting coder project changes |
| GET | /hosting/coder/projects | The projects made by conversation, the most recently changed first. | read | rivier hosting coder project list |
| GET | /hosting/coder/projects/{id} | One project: its kind, the library copy it started from, the library entries it uses with their versions, and the checkpoint it is at. | read | rivier hosting coder project get |
| POST | /hosting/coder/projects/{id}/archive | Take a project off the list. Its files, checkpoints and conversation are kept; nothing is deleted. | write | rivier hosting coder project archive |
coder github
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/github/repos | The GitHub repositories the signed-in person connected to Praecise Cloud's GitHub app, and where to connect more. Says when import from GitHub is not switched on yet. | read | rivier hosting coder github repos |
| POST | /hosting/coder/github/detect | Whether Praecise Cloud can build a connected repository (a branch, a folder inside it), and as what; a stack it cannot build yet is named in a sentence. | write | rivier hosting coder github detect |
coder turn
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/coder/projects/{id}/turns | One turn of the conversation: say what to make or change, and the coder works on the project's files with the library, runs the automatic checks, repairs what it can and saves a checkpoint. The answer says whether it was saved, asked a question, proposed three design directions to pick from, only answered, or could not be saved (the project is then as it was). With Accept: text/event-stream the same turn arrives as events while it works (status, say, tool, fixed, checkpoint, question, directions, notice, preview, then result). A saved turn by a signed-in person is also sent to the project's preview when Praecise Cloud is connected. | write | rivier hosting coder turn create |
coder events
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/projects/{id}/events | The conversation's history, oldest first: what the person said, what the coder said and did, checkpoints, going back and notices. Append-only. | read | rivier hosting coder events list |
coder checkpoint
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/projects/{id}/checkpoints | The project's checkpoints, newest first, each with one sentence saying what changed. | read | rivier hosting coder checkpoint list |
| POST | /hosting/coder/projects/{id}/checkpoints/{checkpoint}/restore | Go back to an earlier checkpoint. A new checkpoint is written with the earlier files; the history in between is kept. Code only: content and records entered since are not touched. | write | rivier hosting coder checkpoint restore |
coder files
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/projects/{id}/files | The project's source files with their sizes, as it stands or at a checkpoint. | read | rivier hosting coder files list |
| GET | /hosting/coder/projects/{id}/file | One source file's text, as it stands or at a checkpoint. | read | rivier hosting coder files get |
coder checks
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/projects/{id}/checks | What the automatic checks find in the project as it stands: imports, dependencies, Rivier's elements, tokens, right-to-left classes, the project layout, secrets, placeholders and the declared content. | read | rivier hosting coder checks list |
coder look
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/coder/projects/{id}/looks | Ask Praecise Cloud to look at the conversation's preview in a browser on its build machine: up to five paths at 390, 820 and 1280 pixels, the first screen and the whole page, in light (and dark, and right to left, when asked), with an accessibility scan. Answers at once with the look's id; a look ends within 90 seconds. Asked in the signed-in person's name; when Praecise Cloud has no looks yet the answer says so and nothing changes. | write | rivier hosting coder look create |
| GET | /hosting/coder/projects/{id}/looks/{look} | A look at the preview: its pictures (signed links good for an hour), and for each page the console errors, failed requests and accessibility findings. The floor lists what can be put right without judging the design (a page that does not answer, a script error, a request of the site's own that fails, an accessibility rule broken in serious ways), and ask holds them as one request to send to the coder as a turn. | read | rivier hosting coder look get |
coder content
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/projects/{id}/content | The project's content as it declares it itself in content/schema.json: single pages and collections, their fields, and what each holds now. Parts kept in a Rivier module (rooms, products) are listed as linked and edited in that module. | read | rivier hosting coder content get |
| PUT | /hosting/coder/projects/{id}/content/{key} | Change one part of the project's content: a single part's fields, or a collection's whole list of items. The values are checked against the content model, the content file is written and a checkpoint is saved; no model is asked and nothing else in the project changes. | write | rivier hosting coder content update |
| POST | /hosting/coder/projects/{id}/content/{key}/type | Make the declared type for a part of the content kept in Rivier (store rivier:data in content/schema.json), from the part's own fields, and add the file the site reads it with (src/lib/rivier-content.ts and its snapshot) as a checkpoint. The published site reads the items with a key that can only read content, set in its environment after a release. | write | rivier hosting coder content make type |
| POST | /hosting/coder/projects/{id}/content/declare | Declare a project's content from what Rivier worked out of its own data files (the proposal in the content answer): the chosen parts are written to content/schema.json and a checkpoint is saved, so they can be edited from then on. Nothing else in the project changes and no model is asked. | write | rivier hosting coder content declare |
coder nlweb
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/coder/projects/{id}/nlweb | Make the site answer a question about its own content at /ask and over MCP at /mcp (the NLWeb convention), with a link that says so, as a checkpoint. The site answers only while the content setting nlweb is on, which Rivier applies to its environment after a release. | write | rivier hosting coder nlweb add |
coder content row
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/coder/projects/{id}/content/{key}/rows | Add one item to a part of the content kept in Rivier; its fields are checked against the part. The site shows it within a minute; no checkpoint is made and no model is asked. | write | rivier hosting coder content row create |
| PATCH | /hosting/coder/projects/{id}/content/{key}/rows/{row} | Change one item of a part of the content kept in Rivier: the fields sent replace the item's fields, checked against the part. | write | rivier hosting coder content row update |
| DELETE | /hosting/coder/projects/{id}/content/{key}/rows/{row} | Remove one item of a part of the content kept in Rivier. | admin | rivier hosting coder content row delete |
coder publish
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/projects/{id}/publish | Whether the project can be published: what the automatic checks still find, and the checklist a person reads first (example content still in place, unknowns in the brief). Says where it is published when it is. | read | rivier hosting coder publish get |
| POST | /hosting/coder/projects/{id}/publish | Publish the project as it stands. Its source goes to Praecise Cloud, which builds it away from any live machine and places it at the project's address. Needs a signed-in person (Praecise Cloud is asked in their name), passing checks and approve: true; answers the build job to follow. A refusal from Praecise Cloud is passed on in its own words. | write | rivier hosting coder publish create |
coder preview
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| POST | /hosting/coder/projects/{id}/preview | Show the project at a preview address without touching what is live: the project as it stands goes to the one preview that moves with the conversation, an earlier checkpoint to an address of its own. Built by Praecise Cloud away from any live machine; answers the preview and the build job to follow, or the preview alone when that source is already built there. Needs a signed-in person. | write | rivier hosting coder preview create |
coder deploy
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /hosting/coder/projects/{id}/deploys/{job} | How a build is going, for a publish or a preview: running, succeeded or failed, with the end of its log and, when it failed, the reason as a sentence. | read | rivier hosting coder deploy get |
page
| Method | Route | What it does | Level | Command |
|---|---|---|---|---|
| GET | /workspace/built | Pages the business built. | read | rivier hosting page list |
| GET | /workspace/built/{slug} | One built page. | read | rivier hosting page get |
| POST | /workspace/built | Build a page. | write | rivier hosting page create |
| POST | /workspace/built/publish | Publish a built page. | write | rivier hosting page publish |
| POST | /workspace/built/{slug}/restore/{version} | Restore an earlier version. | write | rivier hosting page restore |