naftiko: 1.0.0-alpha2 info: label: Juniper Networks Juniper Mist API — Sites description: 'Juniper Networks Juniper Mist API — Sites. 6 operations. Lead operation: Juniper Networks List sites in organization. Self-contained Naftiko capability covering one Juniper business surface.' tags: - Juniper - Sites created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JUNIPER_API_KEY: JUNIPER_API_KEY capability: consumes: - type: http namespace: mist-sites baseUri: https://api.mist.com/api/v1 description: Juniper Networks Juniper Mist API — Sites business capability. Self-contained, no shared references. resources: - name: orgs-org_id-sites path: /orgs/{org_id}/sites operations: - name: listorgsites method: GET description: Juniper Networks List sites in organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsite method: POST description: Juniper Networks Create a site outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sites-site_id path: /sites/{site_id} operations: - name: getsite method: GET description: Juniper Networks Get site details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatesite method: PUT description: Juniper Networks Update site outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletesite method: DELETE description: Juniper Networks Delete site outputRawFormat: json outputParameters: - name: result type: object value: $. - name: sites-site_id-stats path: /sites/{site_id}/stats operations: - name: getsitestats method: GET description: Juniper Networks Get site statistics outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.JUNIPER_API_KEY}}' exposes: - type: rest namespace: mist-sites-rest port: 8080 description: REST adapter for Juniper Networks Juniper Mist API — Sites. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org-id}/sites name: orgs-org-id-sites description: REST surface for orgs-org_id-sites. operations: - method: GET name: listorgsites description: Juniper Networks List sites in organization call: mist-sites.listorgsites outputParameters: - type: object mapping: $. - method: POST name: createsite description: Juniper Networks Create a site call: mist-sites.createsite with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id} name: sites-site-id description: REST surface for sites-site_id. operations: - method: GET name: getsite description: Juniper Networks Get site details call: mist-sites.getsite outputParameters: - type: object mapping: $. - method: PUT name: updatesite description: Juniper Networks Update site call: mist-sites.updatesite with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesite description: Juniper Networks Delete site call: mist-sites.deletesite outputParameters: - type: object mapping: $. - path: /v1/sites/{site-id}/stats name: sites-site-id-stats description: REST surface for sites-site_id-stats. operations: - method: GET name: getsitestats description: Juniper Networks Get site statistics call: mist-sites.getsitestats outputParameters: - type: object mapping: $. - type: mcp namespace: mist-sites-mcp port: 9090 transport: http description: MCP adapter for Juniper Networks Juniper Mist API — Sites. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: juniper-networks-list-sites-organization description: Juniper Networks List sites in organization hints: readOnly: true destructive: false idempotent: true call: mist-sites.listorgsites outputParameters: - type: object mapping: $. - name: juniper-networks-create-site description: Juniper Networks Create a site hints: readOnly: false destructive: false idempotent: false call: mist-sites.createsite with: body: tools.body outputParameters: - type: object mapping: $. - name: juniper-networks-get-site-details description: Juniper Networks Get site details hints: readOnly: true destructive: false idempotent: true call: mist-sites.getsite outputParameters: - type: object mapping: $. - name: juniper-networks-update-site description: Juniper Networks Update site hints: readOnly: false destructive: false idempotent: true call: mist-sites.updatesite with: body: tools.body outputParameters: - type: object mapping: $. - name: juniper-networks-delete-site description: Juniper Networks Delete site hints: readOnly: false destructive: true idempotent: true call: mist-sites.deletesite outputParameters: - type: object mapping: $. - name: juniper-networks-get-site-statistics description: Juniper Networks Get site statistics hints: readOnly: true destructive: false idempotent: true call: mist-sites.getsitestats outputParameters: - type: object mapping: $.