Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
00f6775
Add missing switch config (#30)
wprins-JNPR Dec 12, 2025
720f5d6
Fix gateway_matching_rule component (#31)
wprins-JNPR Dec 12, 2025
3212923
Webhook fix 251217 (#33)
tmunzer-AIDE Dec 18, 2025
4b00426
Switch routing policies (#34)
tmunzer-AIDE Dec 18, 2025
59badce
Switch routing policies fix (#35)
tmunzer-AIDE Jan 19, 2026
bfba047
Fix stats port (#36)
tmunzer-AIDE Jan 20, 2026
7d42fbe
Fix stats port (#37)
tmunzer-AIDE Jan 26, 2026
0c44e6c
Fix 260127 (#38)
tmunzer-AIDE Jan 28, 2026
1cf52e7
fix /alarm/search query parameter and show_bgp_summary typo (#39)
tmunzer-AIDE Jan 29, 2026
8c4fd62
minor fixes (#40)
tmunzer-AIDE Jan 30, 2026
ce49926
fix /stats/ports/search query parameters (#41)
tmunzer-AIDE Feb 2, 2026
f662d8f
MIST-177721 Schema updates related to org.md
Kevin-DeJong Feb 9, 2026
29ac118
MIST-177721 Update OpenAPI schema for site.md changes
Kevin-DeJong Feb 9, 2026
efa2d21
revert usermacs change.
Kevin-DeJong Feb 9, 2026
ba1338e
PR changes
Kevin-DeJong Feb 9, 2026
1c2c318
Merge branch 'MIST-177721_Update_OpenAPI_Schema_2' into MIST-177721_U…
Kevin-DeJong Feb 9, 2026
8ca434b
Generated schema and updated changelog
Kevin-DeJong Feb 10, 2026
b8e7cd5
added version to changelog
Kevin-DeJong Feb 10, 2026
97dfd3a
PR changes
Kevin-DeJong Feb 11, 2026
5d8488b
Added 'Orgs Devices - AOS' to tags
Kevin-DeJong Feb 12, 2026
955a353
update tag
Kevin-DeJong Feb 12, 2026
560bd75
PR changes
Kevin-DeJong Feb 15, 2026
1030207
Tag spacing
Kevin-DeJong Feb 16, 2026
db7d463
Merge pull request #42 from mistsys/MIST-177721_Update_OpenAPI_Schema
Kevin-DeJong Feb 17, 2026
f14a997
MIST-177721 Added mist_configured to device_gateway
Kevin-DeJong Feb 18, 2026
fa1ad08
update comment
Kevin-DeJong Feb 18, 2026
f02a0c7
Merge pull request #43 from mistsys/MIST-177721_Update_OpenAPI_Schema_3
Kevin-DeJong Feb 18, 2026
b60234f
minor changes (#44)
tmunzer-AIDE Feb 19, 2026
3395840
Add `routertemplate_id` to `site` component (#45)
wprins-JNPR Feb 24, 2026
5e3f33c
2602.1.3 (#46)
tmunzer-AIDE Feb 24, 2026
cbb9d6e
Mist-177721 Update missing schema attributes and extra_routes via typ…
Kevin-DeJong Feb 26, 2026
7fa3103
Update jsoon and yaml schema files
Kevin-DeJong Feb 26, 2026
f8d24bf
update version
Kevin-DeJong Feb 26, 2026
06be4f9
PR changes
Kevin-DeJong Feb 26, 2026
5d42d68
Updated Changelog and PR fixes
Kevin-DeJong Feb 26, 2026
b63d41e
PR changes
Kevin-DeJong Feb 26, 2026
236a723
upddated Changelog.
Kevin-DeJong Feb 26, 2026
c54aff6
PR updaes
Kevin-DeJong Feb 26, 2026
b5a4885
Merge pull request #48 from mistsys/MIST-177721_Add_missing_updates
Kevin-DeJong Feb 27, 2026
c0a88a3
fix missing attributes and incorrect payloads (#49)
tmunzer-AIDE Mar 4, 2026
2efa6e1
improve partial/full search descriptions (#50)
tmunzer-AIDE Mar 9, 2026
27dfb7e
2602.1.7 (#51)
tmunzer-AIDE Mar 18, 2026
3c50144
2602.1.8 (#52)
tmunzer-AIDE Mar 18, 2026
f10b35e
2602.1.9 (#53)
tmunzer-AIDE Mar 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# GitHub Copilot Instructions for mist_openapi Project

## Project Structure
- **Source of Truth**: `workdir/openapi.yaml` is the primary file
- **Generated Files**: Root-level files are auto-generated from `workdir/openapi.yaml`:
- `mist.openapi.json`
- `mist.openapi.yaml`
- `mist.postman.json`
- `mist.postman.v2.json`
- `mist.postman_env.json`
- **Generation Script**: `workdir/generate.sh` (and related Python scripts) creates all generated files

## PR Review Guidelines

### OpenAPI File Changes (`workdir/openapi.yaml`)
When reviewing changes to `workdir/openapi.yaml`:
1. ✅ Verify `info.version` field has been updated with new version
2. ✅ Verify `info.description` field has been updated with new release date and version information (release date up to one day in the future is acceptable)
3. ✅ Check that generated files are present and correctly updated
4. ✅ Confirm `CHANGELOG.md` has an entry for the new OpenAPI version
5. ✅ Validate OpenAPI schema syntax and structure
6. ✅ Ensure backward compatibility or document breaking changes

### Commit Review Strategy
- Focus comments on `workdir/openapi.yaml` changes
- Do NOT repeat the same comment across generated files
- Only flag generated files if they're missing or incorrectly generated

### Schema Quality Checks
- ✅ Validate the OAS format against OpenAPI Specification version 3.1
- ✅ Endpoint paths follow RESTful conventions
- ✅ Request/response schemas are well-defined
- ✅ Required fields are clearly marked
- ✅ Examples are provided for complex schemas
- ✅ Descriptions are clear and accurate
- 🔐 No sensitive data in examples or defaults (it's possible to see fake API Token, MAC Addresses, username, ... in the descriptions and examples)

### Version Management
- 🔁 Breaking changes must be documented in CHANGELOG.md
- 🔁 Deprecated endpoints/fields should be marked before removal
- 📦 Version numbers follow semantic versioning

### Code Quality
- 🧪 Changes should be validated against OpenAPI specification
- 📉 Avoid duplicate schema definitions
- 🛠 Ensure changes work in both staging and production environments
178 changes: 178 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,184 @@

All notable changes to this project will be documented in this file.

## [2602.1.9] - 2026-03-19

- Updated schema definitions for `gateway` and `gateway_template`:
- Added `gateway_mgmt` field with sub-properties: `admin_sshkeys`, `app_probing`, `app_usage`, `auto_signature_update`, `config_revert_timer`, `disable_console`, `disable_oob`, `disable_usb`, `fips_enabled`, `probe_hosts`, `probe_hostsv6`, `protect_re`, `root_password`, `security_log_source_address`, `security_log_source_interface`
- Updated schema definitions for `site_setting`:
- Consolidated `gateway_mgmt` to use shared `#/components/schemas/gateway_mgmt` schema
- Removed deprecated schemas (now consolidated into `gateway_mgmt`):
- `site_setting_gateway_mgmt`, `site_setting_gateway_mgmt_admin_sshkeys`, `site_setting_gateway_mgmt_auto_signature_update`, `site_setting_gateway_mgmt_probe_hosts`, `site_setting_gateway_mgmt_probe_hostsv6`
- Added `format: password` to sensitive credential fields across multiple schemas for improved security handling (passwords, secrets, API keys, auth tokens)

## [2602.1.8] - 2026-03-18

- Updated `/api/v1/sites/{site_id}/insights/device/{device_mac}/{metric}`
- Added optional `port_id` query parameter for interface-specific metrics
- Updated `/api/v1/sites/{site_id}/insights/gateway/{device_id}/stats`
- Added optional `port_id` query parameter for interface-specific metrics
- Updated `/api/v1/sites/{site_id}/insights/mxedge/{device_mac}/{metric}`
- Added optional `port_id` query parameter for interface-specific metrics
- Updated `/api/v1/sites/{site_id}/insights/switch/{device_mac}/{metric}`
- Added optional `port_id` query parameter for interface-specific metrics

## [2602.1.7] - 2026-03-18

- Added `/api/v1/sites/{site_id}/insights/ap/{device_id}/stats`
- New endpoint for AP Insight Metrics with required `metrics` query parameter
- Updated `/api/v1/orgs/{org_id}/stats`
- Removed `start`, `end`, `duration`, `limit`, `page` query parameters not applicable to org-level stats endpoint
- Updated `/api/v1/orgs/{org_id}/stats/sites`
- Removed `start`, `end`, `duration` query parameters not applicable to site-level stats endpoint
- Updated `/api/v1/sites/{site_id}/insights`
- Changed path from `/api/v1/sites/{site_id}/insights/{metric}` to use `metrics` query parameter instead of path parameter
- Updated `/api/v1/sites/{site_id}/insights/client/{client_mac}`
- Changed path from `/api/v1/sites/{site_id}/insights/client/{client_mac}/{metric}` to use `metrics` query parameter instead of path parameter
- Updated `/api/v1/sites/{site_id}/insights/gateway/{device_id}/stats`
- Changed path from `/api/v1/sites/{site_id}/insights/gateway/{device_id}/stats/{metric}` to use `metrics` query parameter instead of path parameter
- Updated schema definitions for `gateway` and `gateway_template`:
- `.oob_ip_configs.vlan_id`, `.oob_ip_configs.node1.vlan_id`: Changed type from `string` to `oneOf` with `string` and `integer` to support both string and numeric VLAN IDs

## [2602.1.6] - 2026-03-05

- Improve query parameter descriptions when partial search is supported with wildcard (`*`) for better clarity on search behavior
- Updated schema definitions
- Added `uplink` field (boolean) to `stats_switch_port` to indicate if interface is an uplink port

## [2602.1.5] - 2026-03-03

- Updated `/api/v1/sites/{site_id}/insights/fingerprints/count` and `/api/v1/sites/{site_id}/insights/fingerprints/search`
- Updated operationIds from `countOrgClientFingerprints`/`searchOrgClientFingerprints` to `countSiteClientFingerprints`/`searchSiteClientFingerprints`
- Updated tag from `Orgs NAC Fingerprints` to `Sites NAC Fingerprints`
- Updated `/api/v1/orgs/{org_id}/inventory`
- Removed `vc_mac` and `master_mac` query parameters
- Added `model` and `name` query parameters
- Updated `status` parameter to use enum reference (`connected`, `disconnected`)
- Updated `/api/v1/sites/{site_id}/devices/{device_id}/clear_dot1x_mac_limit`
- Changed `port_id` to `ports` (array) to support clearing multiple ports
- Updated `/api/v1/sites/{site_id}/devices/{device_id}/clear_policy_hit_count`
- Added `policy_name` request body parameter (required)
- Updated `/api/v1/sites/{site_id}/devices/{device_id}/show_arp`
- Changed tag from `Utilities Common` to `Utilities LAN`
- Updated schema definitions
- `clear_dot1x_session`: changed `port_id` to `ports` (array)
- `utils_clear_bpdu`: changed `port` to `ports` (array)
- `utils_release_dhcp_leases`: changed `mac` to `macs`
- `utils_show_arp`: added `node` field for HA cluster support on Gateways

## [2602.1.4] - 2026-02-26

- Updated `/api/v1/orgs/{org_id}/inventory`
- Updated `type` parameter to support multiple comma-separated values from: `ap`, `gateway`, `router`, `switch`, `all` (default: `ap`)
- Updated `/api/v1/orgs/{org_id}/jsi/inventory/search`
- Replaced `eol_duration` and `eos_duration` with date-based filters: `eol_after`, `eol_before`, `eos_after`, `eos_before`
- Added `version_eos_after` and `version_eos_before` parameters for software version end-of-support filtering
- Added `sirt_id` and `pbn_id` parameters for security advisory filtering
- Updated `text` parameter description to clarify wildcard support
- Updated `/api/v1/sites/{site_id}/devices`
- Updated `type` parameter to support multiple comma-separated values from: `ap`, `gateway`, `router`, `switch`, `all` (default: `ap`)
- Added `/api/v1/sites/{site_id}/mapstacks`
- Updated `/api/v1/sites/{site_id}/setting`
- Added `gateway_tunnel_updown_threshold` field (integer) to enable threshold-based gateway tunnel (secure edge tunnels) up-down delivery
- Added `allow_mist` field (boolean) to control whether Mist can access this site
- Added `ap_synthetic_test.additional_vlan_ids` field (array of integers) for additional VLAN IDs in synthetic tests
- Updated webhook schemas
- Added new webhook topic `minis-reachability` for AP synthetic test reachability events
- Updated `webhook_minis_reachability_event` timestamp field to use shared `#/components/schemas/timestamp` reference for consistency
- Added webhook sample endpoint for `minis-reachability` topic at `/webhooks/minis_reachability`
- Updated schema definitions
- Added `wlan.disable_message_authenticator_check` field (boolean) to disable Message-Authenticator Check for RADIUS message integrity verification (default: false for better security)
- Updated `extra_route` and `extra_route6` schemas to reference shared `next_hop_via` schema for better reusability and support for ECMP (Equal-Cost Multi-Path) load balancing
- Replaced `mapstack_id` and `mapstack_floor` with `group_name` and `group_idx` in map schema for maps grouping (group_idx typically used for floor)

## [2602.1.3] - 2026-02-24

- Updated websocket API examples for clarity and completeness
- Improved `alarm_group` description
- Added missing `site_id` query parameter to `searchOrgWanClients`
- Added missing query parameter `message` and `sort` to `listSelfAuditLogs`

## [2602.1.2] - 2026-02-24

- Updated `/api/v1/sites/{site_id}`
- Added `routertemplate_id` field
- Updated `/api/v1/orgs/{org_id}/sites`
- Added `routertemplate_id` field

## [2602.1.1] - 2026-02-19

- Updated `/api/v1/orgs/{org_id}/sites/search`
- Updated `name` parameter description to clarify it is case insensitive and supports partial search with wildcard (`*`)
- Updated `/api/v1/orgs/{org_id}/stats/ports/search`
- Removed unsupported `site_id` query parameter
- Updated schema definitions
- Added `deprecated: true` attribute to `managed` and `disable_auto_config` fields
- Fixed inline complex definitions

## [2602.1.0] - 2026-02-10

- Added `/api/v1/orgs/{org_id}/aos/register_cmd`
- Added `/api/v1/orgs/{org_id}/jsi/pbn/count`
- Added `/api/v1/orgs/{org_id}/jsi/pbn/search`
- Added `/api/v1/orgs/{org_id}/jsi/sirt/count`
- Added `/api/v1/orgs/{org_id}/jsi/sirt/search`
- Added `/api/v1/orgs/{org_id}/mxedges/{mxedge_id}/vm_params`
- Added `/api/v1/orgs/{org_id}/usermacs/count`
- Added `/api/v1/sites/{site_id}/maps/auto_geofences`
- Run auto geofence service for all maps in a site
- Added `/api/v1/sites/{site_id}/maps/{map_id}/auto_geofences`
- Run auto geofence service for a single map
- Updated `/api/v1/orgs/{org_id}/nac_clients/search`
- Updated `/api/v1/orgs/{org_id}/setting`
- Added `allow_mist` field
- Updated `/api/v1/orgs/{org_id}/stats`
- Added `allow_mist` field to response
- Updated `/api/v1/sites/{site_id}/analyze_spectrum`
- Added `channels` parameter to request body
- Added `minimum: 60` constraint to `duration` parameter
- Updated `/api/v1/sites/{site_id}/setting/derived`
- Added `allow_mist` field to response
- Updated `/api/v1/sites/{site_id}/stats/devices`
- Added `ip`, `mac`, `product_id`, `vendor_id` fields to `esl_stat` for Hanshow and SoluM dongles

## [2511.1.6] - 2025-12-11

- Updated `/api/v1/orgs/{org_id}/networktemplates`
Updated `/api/v1/orgs/{org_id}/networktemplates/{networktemplate_id}`
Updated `/api/v1/sites/{site_id}/devices`
Updated `/api/v1/sites/{site_id}/devices/import`
Updated `/api/v1/sites/{site_id}/devices/{device_id}`
Updated `/api/v1/sites/{site_id}/networktemplates/derived`
Updated `/api/v1/sites/{site_id}/setting`
Updated `/api/v1/sites/{site_id}/setting/derived`
- Added `bgp_config` for switches
- Updated `/api/v1/orgs/{org_id}/deviceprofiles`
Updated `/api/v1/orgs/{org_id}/deviceprofiles/{deviceprofile_id}`
Updated `/api/v1/orgs/{org_id}/evpn_topologies`
Updated `/api/v1/orgs/{org_id}/evpn_topologies/{evpn_topology_id}`
Updated `/api/v1/orgs/{org_id}/networktemplates`
Updated `/api/v1/orgs/{org_id}/networktemplates/{networktemplate_id}`
Updated `/api/v1/sites/{site_id}/deviceprofiles/derived`
Updated `/api/v1/sites/{site_id}/devices`
Updated `/api/v1/sites/{site_id}/devices/import`
Updated `/api/v1/sites/{site_id}/devices/{device_id}`
Updated `/api/v1/sites/{site_id}/evpn_topologies`
Updated `/api/v1/sites/{site_id}/evpn_topologies/{evpn_topology_id}`
Updated `/api/v1/sites/{site_id}/networktemplates/derived`
Updated `/api/v1/sites/{site_id}/setting`
Updated `/api/v1/sites/{site_id}/setting/derived`
- Added `networks` to `port_config`
- Updated `/api/v1/orgs/{org_id}/deviceprofiles`
Updated `/api/v1/orgs/{org_id}/deviceprofiles/{deviceprofile_id}`
Updated `/api/v1/orgs/{org_id}/gatewaytemplates`
Updated `/api/v1/orgs/{org_id}/gatewaytemplates/{gatewaytemplate_id}`
Updated `/api/v1/sites/{site_id}/deviceprofiles/derived`
Updated `/api/v1/sites/{site_id}/gatewaytemplates/derived`
Updated `/api/v1/sites/{site_id}/setting`
Updated `/api/v1/sites/{site_id}/setting/derived`
- Updated `gateway_matching` to use `gateway_port_config` component for `port_config` property


## [2511.1.0] - 2025-11-17

- Marked `/api/v1/orgs/{org_id}/128routers/register_cmd` as deprecated, replaced by `/api/v1/orgs/{org_id}/ssr/register_cmd`
Expand Down
2 changes: 1 addition & 1 deletion mist.openapi.json

Large diffs are not rendered by default.

Loading