Core concepts
The vocabulary used throughout the docs: modules, content types, locales, roles, drafts and revisions.
Content
| Concept | Meaning |
|---|---|
| Page | A document with a slug, a locale, a body and blocks. Has draft and published states and revisions. |
| News article | Like a page, plus categories, tags, scheduled publishing and retraction. |
| Content type | A collection you define in YAML, for example faq or team. Records get admin screens and, if public: true, a read API. |
| Media | Uploaded files with derivatives (WebP, thumbnails), alt text and focal points. |
| Member | A visitor account of your site, separate from admin users. |
| Site settings | Business profile, navigation, redirects, forms, maintenance mode and translations. |
Publishing states
Pages and news have a draft and a published state. Content types opt in with drafts: true; new records then start as drafts and the public API never returns drafts. With revisions: true HydroGo keeps the last 50 versions of each record so editors can compare and restore.
Locales
HydroGo supports several content locales per site (i18n config). Pages and news are per-locale documents; content type fields marked localized: true hold a value per locale and fall back to the default locale. This is separate from the admin interface language. See Multi-language.
People
| Role | Can |
|---|---|
admin | Everything, including users, roles, settings and system tools. |
editor | Create and edit content within granted permissions. |
viewer | Read-only access to the admin. |
Fine-grained permissions can be granted per user on top of the role. Members (site visitors) never see the admin. Read more in Security.
Credentials
Three kinds of credential work against admin endpoints through the same middleware: a session cookie with a CSRF header (the admin SPA), a Bearer token, or an API key. See Authentication.