naftiko: 1.0.0-alpha2 info: label: Launchpad REST API — People description: 'Launchpad REST API — People. 2 operations. Lead operation: List People. Self-contained Naftiko capability covering one Ubuntu business surface.' tags: - Ubuntu - People created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UBUNTU_API_KEY: UBUNTU_API_KEY capability: consumes: - type: http namespace: launchpad-people baseUri: https://api.launchpad.net/1.0 description: Launchpad REST API — People business capability. Self-contained, no shared references. resources: - name: people path: /people operations: - name: listpeople method: GET description: List People outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ws.op in: query type: string description: Named operation to perform on the collection. - name: q in: query type: string description: Search query string for people. - name: ws.start in: query type: integer description: Starting offset for pagination. - name: ws.size in: query type: integer description: Number of items to return. - name: ~{person_name} path: /~{person_name} operations: - name: getperson method: GET description: Get Person outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: person_name in: path type: string description: Launchpad username or team name. required: true exposes: - type: rest namespace: launchpad-people-rest port: 8080 description: REST adapter for Launchpad REST API — People. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/people name: people description: REST surface for people. operations: - method: GET name: listpeople description: List People call: launchpad-people.listpeople with: ws.op: rest.ws.op q: rest.q ws.start: rest.ws.start ws.size: rest.ws.size outputParameters: - type: object mapping: $. - path: /v1/person-name name: person-name description: REST surface for ~{person_name}. operations: - method: GET name: getperson description: Get Person call: launchpad-people.getperson with: person_name: rest.person_name outputParameters: - type: object mapping: $. - type: mcp namespace: launchpad-people-mcp port: 9090 transport: http description: MCP adapter for Launchpad REST API — People. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-people description: List People hints: readOnly: true destructive: false idempotent: true call: launchpad-people.listpeople with: ws.op: tools.ws.op q: tools.q ws.start: tools.ws.start ws.size: tools.ws.size outputParameters: - type: object mapping: $. - name: get-person description: Get Person hints: readOnly: true destructive: false idempotent: true call: launchpad-people.getperson with: person_name: tools.person_name outputParameters: - type: object mapping: $.