Related services: PathsService —
lynkow.paths.list(),lynkow.paths.matchRedirect(),lynkow.paths.resolve()
Path
Interface
A renderable path for static site generation (SSG/ISR).
Represents a published content article or category that has a public URL.
Use paths.list() to fetch all paths, then generate static pages for each.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | ISO 8601 datetime string of the last modification.<br>Corresponds to the content's |
|
| No | Locale code for this path (e.g. |
|
| No | Full URL path including leading slash and locale prefix.<br>Ready to use as a route path. Includes category segments in nested mode. |
|
| No | Individual path segments (split by |
|
| No | The type of resource this path points to:<br>- |
Redirect
Interface
A URL redirect rule configured in the admin dashboard.
Returned by paths.getRedirects().
Apply these as server-side redirects in your framework's routing configuration.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Whether to append the original request's query string to the redirect target.<br>When |
|
| No | Source path pattern to match incoming requests against.<br>Always starts with |
|
| No | HTTP status code for the redirect:<br>- |
|
| No | Destination path or full URL to redirect to.<br>Can be a relative path (starts with |