naftiko: 1.0.0-alpha2 info: label: FlashBlade REST API — Directory Services description: 'FlashBlade REST API — Directory Services. 26 operations. Lead operation: Pure Storage GET Directory-services. Self-contained Naftiko capability covering one Pure Storage business surface.' tags: - Pure Storage - Directory Services created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PURE_STORAGE_API_KEY: PURE_STORAGE_API_KEY capability: consumes: - type: http namespace: flashblade-rest-directory-services baseUri: http://[array] description: FlashBlade REST API — Directory Services business capability. Self-contained, no shared references. resources: - name: api-2.26-directory-services path: /api/2.26/directory-services operations: - name: get method: GET description: Pure Storage GET Directory-services outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage PATCH Directory-services outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.26-directory-services-local-directory-services path: /api/2.26/directory-services/local/directory-services operations: - name: get method: GET description: Pure Storage List Local Directory Services outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Local Directory Service outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Pure Storage Delete Local Directory Services outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify Local Directory Service outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.26-directory-services-local-groups path: /api/2.26/directory-services/local/groups operations: - name: get method: GET description: Pure Storage List Local Groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Local Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Pure Storage Delete Local Groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify Local Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.26-directory-services-local-groups-members path: /api/2.26/directory-services/local/groups/members operations: - name: get method: GET description: Pure Storage List Local Group Memberships outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Local Group Membership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: delete method: DELETE description: Pure Storage Delete Local Group Membership outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.26-directory-services-local-users path: /api/2.26/directory-services/local/users operations: - name: get method: GET description: Pure Storage List Local Users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Local User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Pure Storage Delete Local Users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify Local Users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.26-directory-services-local-users-members path: /api/2.26/directory-services/local/users/members operations: - name: get method: GET description: Pure Storage List Local User Memberships outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Local User Membership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: delete method: DELETE description: Pure Storage Delete Local User Membership outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.26-directory-services-roles path: /api/2.26/directory-services/roles operations: - name: get method: GET description: Pure Storage GET Directory-service/roles outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage POST Directory-service/roles outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: delete method: DELETE description: Pure Storage DELETE Directory-service/roles outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage PATCH Directory-service/roles outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.26-directory-services-test path: /api/2.26/directory-services/test operations: - name: get method: GET description: Pure Storage GET Directory-services/test outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage PATCH Directory-service/test outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: x-auth-token value: '{{env.PURE_STORAGE_API_KEY}}' placement: header exposes: - type: rest namespace: flashblade-rest-directory-services-rest port: 8080 description: REST adapter for FlashBlade REST API — Directory Services. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2-26/directory-services name: api-2-26-directory-services description: REST surface for api-2.26-directory-services. operations: - method: GET name: get description: Pure Storage GET Directory-services call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage PATCH Directory-services call: flashblade-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-26/directory-services/local/directory-services name: api-2-26-directory-services-local-directory-services description: REST surface for api-2.26-directory-services-local-directory-services. operations: - method: GET name: get description: Pure Storage List Local Directory Services call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local Directory Service call: flashblade-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Directory Services call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Local Directory Service call: flashblade-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-26/directory-services/local/groups name: api-2-26-directory-services-local-groups description: REST surface for api-2.26-directory-services-local-groups. operations: - method: GET name: get description: Pure Storage List Local Groups call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local Group call: flashblade-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Groups call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Local Groups call: flashblade-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-26/directory-services/local/groups/members name: api-2-26-directory-services-local-groups-members description: REST surface for api-2.26-directory-services-local-groups-members. operations: - method: GET name: get description: Pure Storage List Local Group Memberships call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local Group Membership call: flashblade-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Group Membership call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-26/directory-services/local/users name: api-2-26-directory-services-local-users description: REST surface for api-2.26-directory-services-local-users. operations: - method: GET name: get description: Pure Storage List Local Users call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local User call: flashblade-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Users call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Local Users call: flashblade-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-26/directory-services/local/users/members name: api-2-26-directory-services-local-users-members description: REST surface for api-2.26-directory-services-local-users-members. operations: - method: GET name: get description: Pure Storage List Local User Memberships call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local User Membership call: flashblade-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local User Membership call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-26/directory-services/roles name: api-2-26-directory-services-roles description: REST surface for api-2.26-directory-services-roles. operations: - method: GET name: get description: Pure Storage GET Directory-service/roles call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage POST Directory-service/roles call: flashblade-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage DELETE Directory-service/roles call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage PATCH Directory-service/roles call: flashblade-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-26/directory-services/test name: api-2-26-directory-services-test description: REST surface for api-2.26-directory-services-test. operations: - method: GET name: get description: Pure Storage GET Directory-services/test call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage PATCH Directory-service/test call: flashblade-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: flashblade-rest-directory-services-mcp port: 9090 transport: http description: MCP adapter for FlashBlade REST API — Directory Services. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pure-storage-get-directory-services description: Pure Storage GET Directory-services hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-patch-directory-services description: Pure Storage PATCH Directory-services hints: readOnly: false destructive: false idempotent: true call: flashblade-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-local-directory description: Pure Storage List Local Directory Services hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-local-directory description: Pure Storage Create Local Directory Service hints: readOnly: false destructive: false idempotent: false call: flashblade-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-local-directory description: Pure Storage Delete Local Directory Services hints: readOnly: false destructive: true idempotent: true call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-local-directory description: Pure Storage Modify Local Directory Service hints: readOnly: false destructive: false idempotent: true call: flashblade-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-local-groups description: Pure Storage List Local Groups hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-local-group description: Pure Storage Create Local Group hints: readOnly: false destructive: false idempotent: false call: flashblade-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-local-groups description: Pure Storage Delete Local Groups hints: readOnly: false destructive: true idempotent: true call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-local-groups description: Pure Storage Modify Local Groups hints: readOnly: false destructive: false idempotent: true call: flashblade-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-local-group description: Pure Storage List Local Group Memberships hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-local-group-2 description: Pure Storage Create Local Group Membership hints: readOnly: false destructive: false idempotent: false call: flashblade-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-local-group description: Pure Storage Delete Local Group Membership hints: readOnly: false destructive: true idempotent: true call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-list-local-users description: Pure Storage List Local Users hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-local-user description: Pure Storage Create Local User hints: readOnly: false destructive: false idempotent: false call: flashblade-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-local-users description: Pure Storage Delete Local Users hints: readOnly: false destructive: true idempotent: true call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-local-users description: Pure Storage Modify Local Users hints: readOnly: false destructive: false idempotent: true call: flashblade-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-local-user description: Pure Storage List Local User Memberships hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-local-user-2 description: Pure Storage Create Local User Membership hints: readOnly: false destructive: false idempotent: false call: flashblade-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-local-user description: Pure Storage Delete Local User Membership hints: readOnly: false destructive: true idempotent: true call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-get-directory-service description: Pure Storage GET Directory-service/roles hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-post-directory-service description: Pure Storage POST Directory-service/roles hints: readOnly: false destructive: false idempotent: false call: flashblade-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-directory-service description: Pure Storage DELETE Directory-service/roles hints: readOnly: false destructive: true idempotent: true call: flashblade-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-patch-directory-service description: Pure Storage PATCH Directory-service/roles hints: readOnly: false destructive: false idempotent: true call: flashblade-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-get-directory-services-2 description: Pure Storage GET Directory-services/test hints: readOnly: true destructive: false idempotent: true call: flashblade-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-patch-directory-service-2 description: Pure Storage PATCH Directory-service/test hints: readOnly: false destructive: false idempotent: true call: flashblade-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $.