naftiko: 1.0.0-alpha2 info: label: Zulip REST API — navigation_views description: 'Zulip REST API — navigation_views. 4 operations. Lead operation: Get all navigation views. Self-contained Naftiko capability covering one Zulip business surface.' tags: - Zulip - navigation_views created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZULIP_API_KEY: ZULIP_API_KEY capability: consumes: - type: http namespace: zulip-navigation-views baseUri: https://{subdomain}.zulipchat.com/api/v1 description: Zulip REST API — navigation_views business capability. Self-contained, no shared references. resources: - name: navigation_views path: /navigation_views operations: - name: getnavigationviews method: GET description: Get all navigation views outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addnavigationview method: POST description: Add a navigation view outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: navigation_views-fragment path: /navigation_views/{fragment} operations: - name: editnavigationview method: PATCH description: Update the navigation view outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fragment in: path type: string description: The unique URL hash of the navigation view to be updated. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: removenavigationview method: DELETE description: Remove a navigation view outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fragment in: path type: string description: The unique URL hash of the navigation view to be removed. required: true authentication: type: basic username: '{{env.ZULIP_USER}}' password: '{{env.ZULIP_PASS}}' exposes: - type: rest namespace: zulip-navigation-views-rest port: 8080 description: REST adapter for Zulip REST API — navigation_views. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/navigation-views name: navigation-views description: REST surface for navigation_views. operations: - method: GET name: getnavigationviews description: Get all navigation views call: zulip-navigation-views.getnavigationviews outputParameters: - type: object mapping: $. - method: POST name: addnavigationview description: Add a navigation view call: zulip-navigation-views.addnavigationview with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/navigation-views/{fragment} name: navigation-views-fragment description: REST surface for navigation_views-fragment. operations: - method: PATCH name: editnavigationview description: Update the navigation view call: zulip-navigation-views.editnavigationview with: fragment: rest.fragment body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: removenavigationview description: Remove a navigation view call: zulip-navigation-views.removenavigationview with: fragment: rest.fragment outputParameters: - type: object mapping: $. - type: mcp namespace: zulip-navigation-views-mcp port: 9090 transport: http description: MCP adapter for Zulip REST API — navigation_views. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-navigation-views description: Get all navigation views hints: readOnly: true destructive: false idempotent: true call: zulip-navigation-views.getnavigationviews outputParameters: - type: object mapping: $. - name: add-navigation-view description: Add a navigation view hints: readOnly: false destructive: false idempotent: false call: zulip-navigation-views.addnavigationview with: body: tools.body outputParameters: - type: object mapping: $. - name: update-navigation-view description: Update the navigation view hints: readOnly: false destructive: false idempotent: true call: zulip-navigation-views.editnavigationview with: fragment: tools.fragment body: tools.body outputParameters: - type: object mapping: $. - name: remove-navigation-view description: Remove a navigation view hints: readOnly: false destructive: true idempotent: true call: zulip-navigation-views.removenavigationview with: fragment: tools.fragment outputParameters: - type: object mapping: $.