Yroun Guide

Pages & Wiki

Pages are rich documents inside your hub. They support headings, lists, code blocks, images, live data tables, charts, and an arbitrary parent-child tree structure. You can build a full wiki, a runbook, or a live data dashboard, all in one place.

Creating a page

  • Open your hub and go to the Pages tab.
  • Select New page (or the + icon next to any existing page to add a child).
  • Give it a title. Start typing. The editor opens automatically.
  • Rich editor essentials

  • Headings: type # then space for H1, ## for H2, etc.
  • Lists: type - or 1. then space for bullet or numbered lists.
  • Code blocks: type ``` then the language name.
  • Dividers: type --- on a blank line.
  • Blockquotes: type > then space.
  • Images and media

    Drag and drop an image anywhere into the editor, or paste it from your clipboard. The image uploads automatically to Yroun's CDN and embeds inline.

    You can also use the /Image slash command: type / on a blank line to see all block types.

    Cover image and icon

    Each page can have an emoji icon and a full-width cover image. The icon picker and the cover upload button appear near the page title.

    Deleting and restoring pages

    Deleting a page never destroys it immediately. Right after deleting you get a 30-second Undo; after that, hub owners and admins can restore it any time from More → Trash. Restoring brings back the page together with its deleted sub-pages. Deleting a parent page also moves all of its sub-pages to the trash.

    Live data widgets

    Six widget blocks fetch data from any HTTP API and render it live in the page:

  • API Table: fetches a JSON array and renders a filterable, paginated table. Supports optional inline create/edit plus checkbox row selection with bulk delete (staged, committed on Save).
  • API Chart: fetches a JSON array and renders a line, bar, or pie chart. Supports dynamic filter controls.
  • API Request: a Postman-style request builder. Runs HTTP requests with custom headers and body (form or JSON) and displays the response inline.
  • API Queue: groups a paginated list by status into an operator work queue, re-fetching on an interval so state changes appear without a refresh.
  • FAQ: an accordion of questions and answers, either typed in or pulled from an API.
  • Stat Grid: shows key numbers as a grid of tiles, for a KPI or a monitoring view. Each tile carries one value with a change badge and a threshold state. Values are typed in or pulled from an API, and a list of metrics maps one row to one tile, so adding a metric on the server needs no edit to the page. Whether up is good news differs per metric, so a falling bounce rate reads green and falling time-on-page reads red.
  • All six support Endpoint Presets: hub-level named base URLs so you configure the host once and reuse it across every widget.

    Auth: CONNECTIONS (recommended for external APIs: the server injects a hub-stored secret via proxy, so it never reaches a browser), or a PERSONAL TOKEN per viewer: saved (kept in the viewer's per-hub vault) or session-only (entered once per browser session, never stored at Yroun).

    Full configuration walkthrough: Hub Page Widgets.

    Page tree and child pages

    Select the arrow next to any page in the sidebar to expand its children. Drag pages to reorder or reparent them. Deleting a parent soft-deletes all children recursively. Nothing is permanently lost.

    Page visibility

  • Public: visible to all visitors.
  • Member: visible to hub members only.
  • Admin only, Owner only: restricted to specific authority levels.
  • Restricted: whitelist specific users.
  • Who may edit

    Beside the visibility ladder the same access panel has an Editing ladder: who may change the page. The hub owner can always edit; everyone else follows the setting.

  • Admins only (default): hub admins and the owner.
  • Managers / Moderators / Staff / Members: that level and above.
  • Owner only: strictly the hub owner.
  • Restricted: only the people marked Editor in the access list below (each row is a Viewer or an Editor).
  • System: a provisioning script owns the page; nobody edits it in the app, the owner included. Switch the scope to anything else to take the page over by hand; the script then leaves it alone.
  • Outside the edit scope the page opens read-only with a banner naming who may edit; a save attempt is refused by the server, not just hidden by the editor. Only admins and the owner can widen who may edit.

    Via the Open API

    Pages can be created and updated programmatically under /oapi/hubs/{hubUid}/pages. Creating a page is two steps: POST returns a uid, then PUT sets the title and content.

    # Step 1: create blank page
    PAGE=$(curl -s -X POST https://oapi.yroun.com/hubs/HUBUID/pages \
      -H "X-API-Key: your-key" -H "Content-Type: application/json" -d "{}")
    UID=$(echo $PAGE | jq -r .uid)
    
    # Step 2: set title and content
    curl -X PUT https://oapi.yroun.com/hubs/HUBUID/pages/$UID \
      -H "X-API-Key: your-key" -H "Content-Type: application/json" \
      -d '{"title": "My Page", "content": "{\"type\":\"doc\",...}"}'

    Stuck, or something here is wrong? Send us a message