Get Hedhog updates in your inbox
New releases, fresh recipes, and breaking changes — no spam.
Core Submodule
screen
Manages screen catalog and relations to roles and routes.
Source path: libraries/core/src/screen
Module file: screen.module.ts
Introduction
This page documents the screen submodule as part of the Core package. Use it as a quick technical reference for implementation scope, exposed APIs and MCP integration points.
HTTP Endpoints
9 endpoints
List all screens with pagination.
- Query
- page, pageSize, search
Get a screen by ID.
- Params
- screenId (int)
Create a new screen.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| slug | string | yes | — |
| icon | string | no | — |
Update a screen.
- Params
- screenId (int)
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| name | string | no | — |
| slug | string | no | — |
| description | string | no | — |
| icon | string | no | — |
Delete one or more screens.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| ids | number[] | yes | IDs to delete |
List roles associated with a screen.
- Params
- screenId (int)
- Query
- page, pageSize
Replace the role assignments for a screen.
- Params
- screenId (int)
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| ids | number[] | yes | Replacement set of IDs |
List routes associated with a screen.
- Params
- screenId (int)
- Query
- page, pageSize
Replace the route associations for a screen.
- Params
- screenId (int)
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| ids | number[] | yes | Replacement set of IDs |
MCP Tools
Named tools callable by AI models via the Model Context Protocol (MCP).
core.screens.listList all screens with pagination
core.screens.getGet a screen by ID
core.screens.createCreate a new screen entry
core.screens.updateUpdate an existing screen
core.screens.deleteDelete one or more screens
core.screens.roles.listList roles associated with a screen
core.screens.roles.updateReplace the role assignments for a screen
core.screens.routes.listList routes associated with a screen
core.screens.routes.updateReplace the route associations for a screen