naftiko: 1.0.0-alpha2 info: label: Navis N4 Terminal Operating System REST API — Gate description: 'Navis N4 Terminal Operating System REST API — Gate. 1 operations. Lead operation: List gate transactions. Self-contained Naftiko capability covering one Navis business surface.' tags: - Navis - Gate created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NAVIS_API_KEY: NAVIS_API_KEY capability: consumes: - type: http namespace: n4-gate baseUri: https://{terminal}.navis.example.com/apex/n4/api/v2 description: Navis N4 Terminal Operating System REST API — Gate business capability. Self-contained, no shared references. resources: - name: gate-transactions path: /gate-transactions operations: - name: listgatetransactions method: GET description: List gate transactions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: transactionType in: query type: string - name: containerNbr in: query type: string - name: truckId in: query type: string - name: fromDate in: query type: string - name: toDate in: query type: string - name: limit in: query type: integer authentication: type: apikey key: X-API-Key value: '{{env.NAVIS_API_KEY}}' placement: header exposes: - type: rest namespace: n4-gate-rest port: 8080 description: REST adapter for Navis N4 Terminal Operating System REST API — Gate. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gate-transactions name: gate-transactions description: REST surface for gate-transactions. operations: - method: GET name: listgatetransactions description: List gate transactions call: n4-gate.listgatetransactions with: transactionType: rest.transactionType containerNbr: rest.containerNbr truckId: rest.truckId fromDate: rest.fromDate toDate: rest.toDate limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: n4-gate-mcp port: 9090 transport: http description: MCP adapter for Navis N4 Terminal Operating System REST API — Gate. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-gate-transactions description: List gate transactions hints: readOnly: true destructive: false idempotent: true call: n4-gate.listgatetransactions with: transactionType: tools.transactionType containerNbr: tools.containerNbr truckId: tools.truckId fromDate: tools.fromDate toDate: tools.toDate limit: tools.limit outputParameters: - type: object mapping: $.