naftiko: 1.0.0-alpha2 info: label: Juniper Networks Juniper Apstra API — Design description: 'Juniper Networks Juniper Apstra API — Design. 6 operations. Lead operation: Juniper Networks List interface maps. Self-contained Naftiko capability covering one Juniper business surface.' tags: - Juniper - Design created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JUNIPER_API_KEY: JUNIPER_API_KEY capability: consumes: - type: http namespace: apstra-design baseUri: https://{apstra_server}/api description: Juniper Networks Juniper Apstra API — Design business capability. Self-contained, no shared references. resources: - name: design-interface-maps path: /design/interface-maps operations: - name: listinterfacemaps method: GET description: Juniper Networks List interface maps outputRawFormat: json outputParameters: - name: result type: object value: $. - name: design-logical-devices path: /design/logical-devices operations: - name: listlogicaldevices method: GET description: Juniper Networks List logical devices outputRawFormat: json outputParameters: - name: result type: object value: $. - name: design-rack-types path: /design/rack-types operations: - name: listracktypes method: GET description: Juniper Networks List rack types outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createracktype method: POST description: Juniper Networks Create rack type outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: design-templates path: /design/templates operations: - name: listdesigntemplates method: GET description: Juniper Networks List design templates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createdesigntemplate method: POST description: Juniper Networks Create design template 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-design-rest port: 8080 description: REST adapter for Juniper Networks Juniper Apstra API — Design. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/design/interface-maps name: design-interface-maps description: REST surface for design-interface-maps. operations: - method: GET name: listinterfacemaps description: Juniper Networks List interface maps call: apstra-design.listinterfacemaps outputParameters: - type: object mapping: $. - path: /v1/design/logical-devices name: design-logical-devices description: REST surface for design-logical-devices. operations: - method: GET name: listlogicaldevices description: Juniper Networks List logical devices call: apstra-design.listlogicaldevices outputParameters: - type: object mapping: $. - path: /v1/design/rack-types name: design-rack-types description: REST surface for design-rack-types. operations: - method: GET name: listracktypes description: Juniper Networks List rack types call: apstra-design.listracktypes outputParameters: - type: object mapping: $. - method: POST name: createracktype description: Juniper Networks Create rack type call: apstra-design.createracktype with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/design/templates name: design-templates description: REST surface for design-templates. operations: - method: GET name: listdesigntemplates description: Juniper Networks List design templates call: apstra-design.listdesigntemplates outputParameters: - type: object mapping: $. - method: POST name: createdesigntemplate description: Juniper Networks Create design template call: apstra-design.createdesigntemplate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: apstra-design-mcp port: 9090 transport: http description: MCP adapter for Juniper Networks Juniper Apstra API — Design. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: juniper-networks-list-interface-maps description: Juniper Networks List interface maps hints: readOnly: true destructive: false idempotent: true call: apstra-design.listinterfacemaps outputParameters: - type: object mapping: $. - name: juniper-networks-list-logical-devices description: Juniper Networks List logical devices hints: readOnly: true destructive: false idempotent: true call: apstra-design.listlogicaldevices outputParameters: - type: object mapping: $. - name: juniper-networks-list-rack-types description: Juniper Networks List rack types hints: readOnly: true destructive: false idempotent: true call: apstra-design.listracktypes outputParameters: - type: object mapping: $. - name: juniper-networks-create-rack-type description: Juniper Networks Create rack type hints: readOnly: false destructive: false idempotent: false call: apstra-design.createracktype with: body: tools.body outputParameters: - type: object mapping: $. - name: juniper-networks-list-design-templates description: Juniper Networks List design templates hints: readOnly: true destructive: false idempotent: true call: apstra-design.listdesigntemplates outputParameters: - type: object mapping: $. - name: juniper-networks-create-design-template description: Juniper Networks Create design template hints: readOnly: false destructive: false idempotent: false call: apstra-design.createdesigntemplate with: body: tools.body outputParameters: - type: object mapping: $.