API reference

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

MethodRouteWhat it doesLevelCommand
GET/datasourcesThe databases linked to this project, read-only.readrivier hosting data source list
GET/datasources/{id}One link with its last snapshot (names, types, row estimates; never rows).readrivier hosting data source get
POST/datasources/{id}/refreshTake a fresh snapshot and check the link is still reachable.writerivier hosting data source refresh
PUT/datasources/{id}/allowChoose the tables the project may read (only tables the operator granted).writerivier hosting data source allow
PUT/datasources/{id}/write-rulesPer-table write rules; nothing writes without one and an approval.writerivier hosting data source write rules
POST/datasources/{id}/readA plan by default; with execute, up to 500 masked rows of one allowed table.writerivier hosting data source read
POST/datasources/{id}/sharesPut 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.writerivier hosting data source share
DELETE/datasources/{id}/shares/{sid}Remove a shared address; it shows nothing from then on.writerivier hosting data source unshare
GET/datasources/{id}/mappingsProposed mappings of tables to contacts, products, orders and content.readrivier hosting data source mappings
POST/datasources/{id}/mappings/{mid}Accept or reject a proposed mapping.writerivier hosting data source decide mapping
POST/datasources/{id}/ingestCopy up to 100 rows of an allowed table into memory, on purpose.writerivier hosting data source ingest
POST/datasources/{id}/aggregateCounted 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.readrivier hosting data source aggregate

metric

MethodRouteWhat it doesLevelCommand
GET/datasources/metricsThe project's named metrics: each one's approved version (what it counts, from where, approved by whom) and whether a change waits for approval.readrivier hosting metric list
GET/datasources/metrics/{name}Every version of one metric, with who wrote and who approved it.readrivier 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.writerivier hosting metric draft
POST/datasources/metrics/{name}/approveA person who manages the project approves the waiting draft; it becomes the version every screen, report and assistant reads.writerivier hosting metric approve
DELETE/datasources/metrics/{name}Stop a metric being read; its versions stay on record.writerivier hosting metric retire
POST/datasources/metrics/{name}/valueThe 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.readrivier hosting metric value

protection

MethodRouteWhat it doesLevelCommand
GET/protectionWhether 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.readrivier hosting protection get
POST/protection/onTurn 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.writerivier hosting protection on
POST/protection/offTurn Protection off: writes are accepted without a check. Nothing is deleted.writerivier hosting protection off
POST/protection/rotateChange the site secret (shown once); the old one stops working. A person does this in the app.writerivier hosting protection rotate
GET/protection/reportThe last seven days in numbers: people who saw nothing, callers asked for one touch, refused, declared agents, writes accepted unchecked, and what needs doing.readrivier hosting protection report
GET/protection/agentsThe 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.readrivier hosting protection agents
PUT/protection/agentsSet 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.writerivier hosting protection setagents
GET/public/protectionFor 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.readrivier hosting protection script

usage

MethodRouteWhat it doesLevelCommand
GET/hosting/usageWhat the plan allows this project's hosting and what is in use.readrivier hosting usage get

site

MethodRouteWhat it doesLevelCommand
GET/hosting/sitesThe sites this project hosts.readrivier hosting site list
POST/hosting/sitesCreate a site with a generated address under the platform domain.writerivier hosting site create
GET/hosting/sites/{id}One site.readrivier hosting site get
DELETE/hosting/sites/{id}Remove the site, its previews, its domains and its settings.adminrivier hosting site remove
POST/hosting/sites/{id}/resumeAfter resubscribing: make a site that is kept read-only writable again.writerivier hosting site resume

deployment

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/deploymentsDeployments of a site, newest first.readrivier hosting deployment list
POST/hosting/sites/{id}/deploymentsDeploy the site from the request body: a gzip tar with index.html at its top. ?preview=1 makes a preview at its own address.writerivier hosting deployment create
GET/hosting/sites/{id}/deployments/{dep}One deployment.readrivier hosting deployment get
POST/hosting/sites/{id}/deployments/{dep}/promoteMake a preview the production site.writerivier hosting deployment promote
POST/hosting/sites/{id}/deployments/{dep}/rollbackServe an earlier production deployment again.writerivier hosting deployment rollback
DELETE/hosting/sites/{id}/deployments/{dep}Delete a preview deployment.adminrivier hosting deployment remove

env

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/envThe names of the variables set on a site. Values are never returned.readrivier hosting env list
PUT/hosting/sites/{id}/envSet a variable on a Next site. The value is sealed and delivered to the running site only.writerivier hosting env set
DELETE/hosting/sites/{id}/env/{name}Remove a variable.adminrivier hosting env remove

domain

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/domainsCustom domains of a site with their state, the reason in plain words and the one thing to do next.readrivier hosting domain list
GET/hosting/sites/{id}/domains/optionsThe 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.readrivier hosting domain options
POST/hosting/sites/{id}/domainsConnect a name. Control is proven by the name pointing at the site; the certificate is obtained before the first visitor.writerivier hosting domain add
POST/hosting/sites/{id}/domains/quotePrice a name to buy through Rivier. Nothing is bought.readrivier hosting domain quote
POST/hosting/sites/{id}/domains/buyBuy the quoted name (a person only) and connect it.writerivier hosting domain buy
POST/hosting/sites/{id}/domains/{dom}/renew/quoteThe price to renew a name bought through Rivier for a year. Nothing is charged.readrivier hosting domain renew quote
POST/hosting/sites/{id}/domains/renewRenew the quoted name (a person only).writerivier 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.writerivier hosting domain update
POST/hosting/sites/{id}/domains/{dom}/checkLook at the name now and move it along.writerivier 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.adminrivier hosting domain remove

event

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/eventsThe site's record: deploys, domain and variable changes, health checks.readrivier hosting event list

log

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/logsRecent runtime log lines of a Next site.readrivier hosting log list

health

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/healthFetch the site now and report whether it answers.readrivier hosting health get

data

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/dataYour 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.readrivier hosting data get
GET/hosting/sites/{id}/data/restore-pointsThe earlier moments your data can be restored to.readrivier hosting data restore points
POST/hosting/sites/{id}/data/restorePrepare your data as it was at an earlier moment beside your current data. Nothing changes until you confirm.writerivier hosting data restore
POST/hosting/sites/{id}/data/restore/{rid}/confirmSwitch the site to the restored data. What it had before is kept briefly.writerivier hosting data restore confirm
DELETE/hosting/sites/{id}/data/restore/{rid}Cancel a prepared restore and discard the prepared copy.adminrivier hosting data restore cancel
POST/hosting/sites/{id}/data/exportExport my data: the site's records and a dump of what it stores, checked after writing. Kept 30 days.writerivier hosting data export
POST/hosting/sites/{id}/data/eraseFirst step of deleting my data: makes an export and answers a token good for 15 minutes. Nothing is removed.writerivier hosting data erase request
DELETE/hosting/sites/{id}/data/eraseSecond step: present the token. The site's stored data and backups are removed; the export stays 30 days.adminrivier hosting data erase confirm

export

MethodRouteWhat it doesLevelCommand
GET/hosting/exportsThe exports this project holds.readrivier hosting export list
GET/hosting/exports/{eid}One export with its parts and checksums.readrivier hosting export get
GET/hosting/exports/{eid}/downloadDownload one part of an export.readrivier hosting export download

mail

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/mailEmail 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.readrivier hosting mail get

preview

MethodRouteWhat it doesLevelCommand
POST/hosting/sites/{id}/deployments/{dep}/shareA link to a preview on its own address, signed and expiring, kept out of search results.writerivier hosting preview share
DELETE/hosting/sites/{id}/deployments/{dep}/shareCancel every link already given out for a preview.adminrivier hosting preview revoke

build

MethodRouteWhat it doesLevelCommand
GET/hosting/sites/{id}/buildsBuilds of a site, newest first.readrivier hosting build list
GET/hosting/sites/{id}/builds/{bid}One build with its state, log and the deployment it made.readrivier hosting build get
POST/hosting/sites/{id}/buildsBuild 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.writerivier hosting build start
POST/hosting/sites/{id}/builds/uploadBuild a static site from source sent as a gzip tar in the request body.writerivier hosting build upload
POST/hosting/sites/{id}/builds/{bid}/cancelCancel a build that has not started.writerivier hosting build cancel

library

MethodRouteWhat it doesLevelCommand
GET/hosting/design-library/entriesSearch 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.readrivier hosting library search
GET/hosting/design-library/facetsHow many entries carry each tag value, for the filter lists.readrivier hosting library facets
GET/hosting/design-library/featuredThe sets the library's maintainers have featured.readrivier 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.readrivier hosting library get
GET/hosting/design-library/entries/{entry}/similarEntries like this one.readrivier hosting library similar
POST/hosting/design-library/selectRanked picks per kind for a design brief, each with reasons; hard requirements remove entries first.readrivier hosting library select
POST/hosting/design-library/designA 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).writerivier hosting library design
GET/hosting/design-library/brand-kitThe 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.readrivier hosting library brand kit
POST/hosting/design-library/palette/evaluateJudge 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.readrivier hosting library evaluate palette
POST/hosting/design-library/starter-kitA first brand for someone with none: a text-mark logo, a palette and two open fonts. Always a draft.readrivier hosting library starter kit
POST/hosting/design-library/extract-coloursColours from a logo or a picture (sent as base64) and the readable palette built from them, with every contrast correction listed. Nothing is stored.readrivier hosting library extract colours

library favourite

MethodRouteWhat it doesLevelCommand
GET/hosting/design-library/favouritesThe caller's favourite entries.readrivier hosting library favourite list
PUT/hosting/design-library/favourites/{entry}Mark or unmark a favourite.writerivier hosting library favourite set

library rating

MethodRouteWhat it doesLevelCommand
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.writerivier hosting library rating set

resources

MethodRouteWhat it doesLevelCommand
GET/hosting/resources/indexThe 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).readrivier hosting resources index
GET/hosting/resources/entriesSearch 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.readrivier 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.readrivier hosting resources get
GET/hosting/resources/entries/{kind}/{name}/fileOne text file of an entry: its guide, its example, or any file of a starting tree.readrivier hosting resources file
GET/hosting/resources/entries/{kind}/{name}/planThe steps that using an entry takes, in order, with what it requires first. Refuses an entry that cannot be used yet. Changes nothing.readrivier hosting resources plan

market

MethodRouteWhat it doesLevelCommand
GET/hosting/marketWhat the marketplace has switched on (selling, which version of the terms for sellers is in force, buying) and whether this project sells.readrivier hosting market status

market seller

MethodRouteWhat it doesLevelCommand
POST/hosting/market/sellerSell in the marketplace: accept the terms for sellers in force and give the name buyers see. Refused while no terms are published.writerivier hosting market seller set

market submission

MethodRouteWhat it doesLevelCommand
GET/hosting/market/submissionsThe entries this project offered: waiting for review, on the shelf, or refused with the reviewer's reason.readrivier hosting market submission list
POST/hosting/market/submissionsOffer 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.writerivier hosting market submission create
POST/hosting/market/submissions/archiveOffer 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.writerivier hosting market submission upload
POST/hosting/market/submissions/{id}/withdrawTake an offer back: one waiting is no longer reviewed, one on the shelf leaves it. Projects that bought it keep what they have.writerivier hosting market submission withdraw

market sale

MethodRouteWhat it doesLevelCommand
GET/hosting/market/salesWhat this project's entries sold: entry, version, price and when, without saying who bought.readrivier hosting market sale list

market review

MethodRouteWhat it doesLevelCommand
GET/hosting/market/reviewOffers waiting for review, oldest first. Rivier's staff only.readrivier 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.writerivier hosting market review decide

market licence

MethodRouteWhat it doesLevelCommand
GET/hosting/market/licencesThe priced entries this project bought, paid or with payment started.readrivier hosting market licence list
POST/hosting/market/entries/{kind}/{name}/buyBuy 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.writerivier hosting market licence buy
POST/hosting/market/licences/{id}/confirmAfter 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.writerivier hosting market licence confirm

coder project

MethodRouteWhat it doesLevelCommand
POST/hosting/coder/projectsStart 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.writerivier hosting coder project create
POST/hosting/coder/projects/importBring 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.writerivier hosting coder project import
POST/hosting/coder/projects/import/partsSend 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.writerivier hosting coder project import part
POST/hosting/coder/projects/import/finishJoin 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.writerivier hosting coder project import finish
POST/hosting/coder/projects/import/cloudBring 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.writerivier hosting coder project import cloud
POST/hosting/coder/projects/import/githubStart 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.writerivier hosting coder project import github
GET/hosting/coder/projects/{id}/changesEvery 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.readrivier hosting coder project changes
GET/hosting/coder/projectsThe projects made by conversation, the most recently changed first.readrivier 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.readrivier hosting coder project get
POST/hosting/coder/projects/{id}/archiveTake a project off the list. Its files, checkpoints and conversation are kept; nothing is deleted.writerivier hosting coder project archive

coder github

MethodRouteWhat it doesLevelCommand
GET/hosting/coder/github/reposThe 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.readrivier hosting coder github repos
POST/hosting/coder/github/detectWhether 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.writerivier hosting coder github detect

coder turn

MethodRouteWhat it doesLevelCommand
POST/hosting/coder/projects/{id}/turnsOne 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.writerivier hosting coder turn create

coder events

MethodRouteWhat it doesLevelCommand
GET/hosting/coder/projects/{id}/eventsThe conversation's history, oldest first: what the person said, what the coder said and did, checkpoints, going back and notices. Append-only.readrivier hosting coder events list

coder checkpoint

MethodRouteWhat it doesLevelCommand
GET/hosting/coder/projects/{id}/checkpointsThe project's checkpoints, newest first, each with one sentence saying what changed.readrivier hosting coder checkpoint list
POST/hosting/coder/projects/{id}/checkpoints/{checkpoint}/restoreGo 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.writerivier hosting coder checkpoint restore

coder files

MethodRouteWhat it doesLevelCommand
GET/hosting/coder/projects/{id}/filesThe project's source files with their sizes, as it stands or at a checkpoint.readrivier hosting coder files list
GET/hosting/coder/projects/{id}/fileOne source file's text, as it stands or at a checkpoint.readrivier hosting coder files get

coder checks

MethodRouteWhat it doesLevelCommand
GET/hosting/coder/projects/{id}/checksWhat 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.readrivier hosting coder checks list

coder look

MethodRouteWhat it doesLevelCommand
POST/hosting/coder/projects/{id}/looksAsk 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.writerivier 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.readrivier hosting coder look get

coder content

MethodRouteWhat it doesLevelCommand
GET/hosting/coder/projects/{id}/contentThe 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.readrivier 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.writerivier hosting coder content update
POST/hosting/coder/projects/{id}/content/{key}/typeMake 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.writerivier hosting coder content make type
POST/hosting/coder/projects/{id}/content/declareDeclare 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.writerivier hosting coder content declare

coder nlweb

MethodRouteWhat it doesLevelCommand
POST/hosting/coder/projects/{id}/nlwebMake 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.writerivier hosting coder nlweb add

coder content row

MethodRouteWhat it doesLevelCommand
POST/hosting/coder/projects/{id}/content/{key}/rowsAdd 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.writerivier 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.writerivier 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.adminrivier hosting coder content row delete

coder publish

MethodRouteWhat it doesLevelCommand
GET/hosting/coder/projects/{id}/publishWhether 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.readrivier hosting coder publish get
POST/hosting/coder/projects/{id}/publishPublish 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.writerivier hosting coder publish create

coder preview

MethodRouteWhat it doesLevelCommand
POST/hosting/coder/projects/{id}/previewShow 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.writerivier hosting coder preview create

coder deploy

MethodRouteWhat it doesLevelCommand
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.readrivier hosting coder deploy get

page

MethodRouteWhat it doesLevelCommand
GET/workspace/builtPages the business built.readrivier hosting page list
GET/workspace/built/{slug}One built page.readrivier hosting page get
POST/workspace/builtBuild a page.writerivier hosting page create
POST/workspace/built/publishPublish a built page.writerivier hosting page publish
POST/workspace/built/{slug}/restore/{version}Restore an earlier version.writerivier hosting page restore