The Platforms API lets you query and manage the gaming platforms in your RomM library. Platforms map directly to filesystem slugs under your library base path — each platform folder you create becomes a platform record when scanned.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/rommapp/romm/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/platforms
Retrieve all platforms visible to the authenticated user. Required scope:platforms.read
ISO 8601 datetime with timezone (e.g.
2024-01-01T00:00:00Z). Returns only platforms updated after this timestamp. Useful for incremental sync.Internal platform ID.
Canonical slug used by metadata providers (e.g.
nintendo-64).Filesystem folder name under the library base path (e.g.
n64).Official platform name (e.g.
Nintendo 64).Computed field: returns
custom_name if set, otherwise name.User-set override for the display name.
Number of ROMs associated with this platform.
Total size of all ROM files on disk for this platform.
IGDB platform ID.
IGDB platform slug.
SteamGridDB platform ID.
MobyGames platform ID.
MobyGames platform slug.
ScreenScraper platform ID.
RetroAchievements platform ID.
LaunchBox platform ID.
Hasheous platform ID.
TheGamesDB platform ID.
Flashpoint platform ID.
HowLongToBeat platform slug.
Libretro platform slug.
Platform category (e.g.
console, portable, computer).Console generation number.
Platform family name (e.g.
Nintendo).Platform family slug.
URL to the platform’s official page.
URL to the platform logo image.
List of firmware files associated with this platform.
Number of firmware files associated with this platform.
True if the platform could not be matched to any metadata source.
True if the platform was matched to at least one metadata source.
True if the platform folder no longer exists on disk.
ISO 8601 creation timestamp (UTC).
ISO 8601 last-updated timestamp (UTC).
GET /api/platforms/identifiers
Retrieve just the IDs of all visible platforms. Useful for sync clients that want a lightweight list to diff against. Required scope:platforms.read
[1, 2, 3, ...]
GET /api/platforms/supported
Retrieve the full list of platforms that RomM supports (slug → name mapping). This list is static and does not reflect what is in your library. Required scope:platforms.read
POST /api/platforms
Add a new platform to the library. RomM creates the platform folder on disk (if it doesn’t already exist) and immediately scans it. Required scope:platforms.write
Filesystem slug for the new platform. Must match an entry in the supported platforms list (e.g.
n64, gba, psx).201 Created — the newly created PlatformSchema object.
GET /api/platforms/
Retrieve a single platform by its internal ID. Required scope:platforms.read
Platform internal ID (must be ≥ 1).
PlatformSchema object, or 404 if not found.
PUT /api/platforms/
Update a platform’s custom display name. Required scope:platforms.write
Platform internal ID.
Custom display name to override the default platform name. Pass
null to clear the override and revert to the canonical name.PlatformSchema object.
DELETE /api/platforms/
Delete a platform and all of its associated ROM records from the database. This does not delete files from disk. Required scope:platforms.write
Platform internal ID.
204 No Content on success, 404 if the platform was not found.