API Specs
The APIs page (/apis) is your spec library. Upload OpenAPI 3.x documents in JSON or YAML format, then browse them with the interactive Scalar viewer.
Uploading a spec
Click Upload Spec in the top-right corner. You can:
- Drag and drop a
.jsonor.yamlfile - Paste raw JSON/YAML into the text area
- Provide a remote URL to fetch from
Specs are stored in the portal-specs Docker volume as raw files and served at /api/specs/:name.
Browsing with Scalar
Click any spec in the list to open the full Scalar API reference viewer. Scalar renders:
- All paths, operations, parameters, and request/response schemas
- Try-it client (CORS-proxied through
/api/proxyto avoid browser restrictions) - Authentication configuration
- Code generation snippets
The Scalar viewer automatically inherits the portal’s active color theme.
Spec metadata
Each spec card shows:
- Title and version extracted from the spec’s
infoobject - Path count — total number of operations
- File name — used as the key when linking specs to products
Deleting a spec
Click the trash icon on any spec card. Note: if a product references this spec, the product’s API browser will show an error until re-linked to a valid spec file.
API
| Method | Path | Description |
|---|---|---|
GET |
/api/specs |
List all spec files |
GET |
/api/specs/meta |
Metadata (title, version, path count) |
GET |
/api/specs/:name |
Download spec (JSON or YAML) |
POST |
/api/specs/:name |
Upload/overwrite a spec |
DELETE |
/api/specs/:name |
Delete a spec |
GET |
/scalar/:name |
Render Scalar viewer HTML |