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