Docs

Overview

The Docs API is the extensible-by-data CMS that powers this site. Every path is one row.

Base URL

All endpoints live under https://gaborvilics.be/api/docs β€” the same path-prefix pattern as the portfolio API.

The page model

Each site path maps to a single Page row with four fields.

Page.cs
csharp
class PageEntity {
  int     Id;
  string  Path;       // unique, leading slash, e.g. /docs-api/overview
  string  Kind;       // free string: project | section | api | components | cheatsheet | ...
  string? ProjectId;  // optional owning project
  string  Data;       // opaque JSON, stored and returned verbatim
}

Built-in kinds

  • project β€” landing payload (install, features, sidebar)
  • section β€” a doc page of typed blocks
  • api β€” an API reference (entries)
  • components β€” a component gallery (a JSON array)
  • cheatsheet β€” grouped quick-reference rows