naftiko: 1.0.0-alpha2 info: label: Leaf Agriculture Leaf API — API Reference > Configurations > Leaf User description: 'Leaf Agriculture Leaf API — API Reference > Configurations > Leaf User. 4 operations. Lead operation: Leaf Agriculture Get leaf user config. Self-contained Naftiko capability covering one Leaf Agriculture business surface.' tags: - Leaf Agriculture - API Reference > Configurations > Leaf User created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LEAF_AGRICULTURE_API_KEY: LEAF_AGRICULTURE_API_KEY capability: consumes: - type: http namespace: leaf-agriculture-api-reference-configurations-leaf-user baseUri: '' description: Leaf Agriculture Leaf API — API Reference > Configurations > Leaf User business capability. Self-contained, no shared references. resources: - name: services-config-api-configs-leaf_user_id path: /services/config/api/configs/{leaf_user_id} operations: - name: get method: GET description: Leaf Agriculture Get leaf user config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Authorization in: header type: string - name: leaf_user_id in: path type: string required: true - name: post method: POST description: Leaf Agriculture Create leaf user config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Authorization in: header type: string - name: leaf_user_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: patch method: PATCH description: Leaf Agriculture Update leaf user config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Authorization in: header type: string - name: leaf_user_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Leaf Agriculture Delete leaf user config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Authorization in: header type: string - name: leaf_user_id in: path type: string required: true exposes: - type: rest namespace: leaf-agriculture-api-reference-configurations-leaf-user-rest port: 8080 description: REST adapter for Leaf Agriculture Leaf API — API Reference > Configurations > Leaf User. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/services/config/api/configs/{leaf-user-id} name: services-config-api-configs-leaf-user-id description: REST surface for services-config-api-configs-leaf_user_id. operations: - method: GET name: get description: Leaf Agriculture Get leaf user config call: leaf-agriculture-api-reference-configurations-leaf-user.get with: Content-Type: rest.Content-Type Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id outputParameters: - type: object mapping: $. - method: POST name: post description: Leaf Agriculture Create leaf user config call: leaf-agriculture-api-reference-configurations-leaf-user.post with: Content-Type: rest.Content-Type Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Leaf Agriculture Update leaf user config call: leaf-agriculture-api-reference-configurations-leaf-user.patch with: Content-Type: rest.Content-Type Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Leaf Agriculture Delete leaf user config call: leaf-agriculture-api-reference-configurations-leaf-user.delete with: Content-Type: rest.Content-Type Authorization: rest.Authorization leaf_user_id: rest.leaf_user_id outputParameters: - type: object mapping: $. - type: mcp namespace: leaf-agriculture-api-reference-configurations-leaf-user-mcp port: 9090 transport: http description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Configurations > Leaf User. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: leaf-agriculture-get-leaf-user description: Leaf Agriculture Get leaf user config hints: readOnly: true destructive: false idempotent: true call: leaf-agriculture-api-reference-configurations-leaf-user.get with: Content-Type: tools.Content-Type Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id outputParameters: - type: object mapping: $. - name: leaf-agriculture-create-leaf-user description: Leaf Agriculture Create leaf user config hints: readOnly: false destructive: false idempotent: false call: leaf-agriculture-api-reference-configurations-leaf-user.post with: Content-Type: tools.Content-Type Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id body: tools.body outputParameters: - type: object mapping: $. - name: leaf-agriculture-update-leaf-user description: Leaf Agriculture Update leaf user config hints: readOnly: false destructive: false idempotent: true call: leaf-agriculture-api-reference-configurations-leaf-user.patch with: Content-Type: tools.Content-Type Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id body: tools.body outputParameters: - type: object mapping: $. - name: leaf-agriculture-delete-leaf-user description: Leaf Agriculture Delete leaf user config hints: readOnly: false destructive: true idempotent: true call: leaf-agriculture-api-reference-configurations-leaf-user.delete with: Content-Type: tools.Content-Type Authorization: tools.Authorization leaf_user_id: tools.leaf_user_id outputParameters: - type: object mapping: $.