naftiko: 1.0.0-alpha2 info: label: Juniper Networks Juniper Apstra API — Authentication description: 'Juniper Networks Juniper Apstra API — Authentication. 1 operations. Lead operation: Juniper Networks Authenticate user. Self-contained Naftiko capability covering one Juniper business surface.' tags: - Juniper - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JUNIPER_API_KEY: JUNIPER_API_KEY capability: consumes: - type: http namespace: apstra-authentication baseUri: https://{apstra_server}/api description: Juniper Networks Juniper Apstra API — Authentication business capability. Self-contained, no shared references. resources: - name: aaa-login path: /aaa/login operations: - name: login method: POST description: Juniper Networks Authenticate user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: AuthToken value: '{{env.JUNIPER_API_KEY}}' placement: header exposes: - type: rest namespace: apstra-authentication-rest port: 8080 description: REST adapter for Juniper Networks Juniper Apstra API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/aaa/login name: aaa-login description: REST surface for aaa-login. operations: - method: POST name: login description: Juniper Networks Authenticate user call: apstra-authentication.login with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: apstra-authentication-mcp port: 9090 transport: http description: MCP adapter for Juniper Networks Juniper Apstra API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: juniper-networks-authenticate-user description: Juniper Networks Authenticate user hints: readOnly: false destructive: false idempotent: false call: apstra-authentication.login with: body: tools.body outputParameters: - type: object mapping: $.