naftiko: 1.0.0-alpha2 info: label: FlashArray REST API — Directory Services description: 'FlashArray REST API — Directory Services. 31 operations. Lead operation: Pure Storage List Directory Services Configuration. 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: flasharray-rest-directory-services baseUri: '' description: FlashArray REST API — Directory Services business capability. Self-contained, no shared references. resources: - name: api-2.52-directory-services path: /api/2.52/directory-services operations: - name: get method: GET description: Pure Storage List Directory Services Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create Directory Services Configuration 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 Services Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify Directory Services Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.52-directory-services-local-directory-services path: /api/2.52/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.52-directory-services-local-groups path: /api/2.52/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.52-directory-services-local-groups-members path: /api/2.52/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.52-directory-services-local-users path: /api/2.52/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 User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.52-directory-services-local-users-members path: /api/2.52/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.52-directory-services-roles path: /api/2.52/directory-services/roles operations: - name: get method: GET description: Pure Storage List Group to Management Access Policy Mappings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Group in Management Access Policy Mappings 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 Group to Management Access Policy Mappings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Pure Storage Modify Group to Management Access Policy Mappings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-2.52-directory-services-roles-policies-management-access path: /api/2.52/directory-services/roles/policies/management-access operations: - name: get method: GET description: Pure Storage List Management Access Policies Attached to a Group to Management Access Policy Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Pure Storage Create a Membership Between a Group to Management Access Policy Mapping with One or More Management Access Policies 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 a Membership Between a Group to Management Access Policy Mapping and One or More Management Access Policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-2.52-directory-services-test path: /api/2.52/directory-services/test operations: - name: get method: GET description: Pure Storage GET Directory-service/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 exposes: - type: rest namespace: flasharray-rest-directory-services-rest port: 8080 description: REST adapter for FlashArray REST API — Directory Services. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/2-52/directory-services name: api-2-52-directory-services description: REST surface for api-2.52-directory-services. operations: - method: GET name: get description: Pure Storage List Directory Services Configuration call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Directory Services Configuration call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Directory Services Configuration call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Directory Services Configuration call: flasharray-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/local/directory-services name: api-2-52-directory-services-local-directory-services description: REST surface for api-2.52-directory-services-local-directory-services. operations: - method: GET name: get description: Pure Storage List Local Directory Services call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local Directory Service call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Directory Services call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Local Directory Service call: flasharray-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/local/groups name: api-2-52-directory-services-local-groups description: REST surface for api-2.52-directory-services-local-groups. operations: - method: GET name: get description: Pure Storage List Local Groups call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local Group call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Groups call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Local Groups call: flasharray-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/local/groups/members name: api-2-52-directory-services-local-groups-members description: REST surface for api-2.52-directory-services-local-groups-members. operations: - method: GET name: get description: Pure Storage List Local Group Memberships call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local Group Membership call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Group Membership call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/local/users name: api-2-52-directory-services-local-users description: REST surface for api-2.52-directory-services-local-users. operations: - method: GET name: get description: Pure Storage List Local Users call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local User call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local Users call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Local User call: flasharray-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/local/users/members name: api-2-52-directory-services-local-users-members description: REST surface for api-2.52-directory-services-local-users-members. operations: - method: GET name: get description: Pure Storage List Local User Memberships call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create Local User Membership call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Local User Membership call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/roles name: api-2-52-directory-services-roles description: REST surface for api-2.52-directory-services-roles. operations: - method: GET name: get description: Pure Storage List Group to Management Access Policy Mappings call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Group in Management Access Policy Mappings call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete Group to Management Access Policy Mappings call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage Modify Group to Management Access Policy Mappings call: flasharray-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/roles/policies/management-access name: api-2-52-directory-services-roles-policies-management-access description: REST surface for api-2.52-directory-services-roles-policies-management-access. operations: - method: GET name: get description: Pure Storage List Management Access Policies Attached to a Group to Management Access Policy Mapping call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: POST name: post description: Pure Storage Create a Membership Between a Group to Management Access Policy Mapping with One or More Management Access Policies call: flasharray-rest-directory-services.post with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Pure Storage Delete a Membership Between a Group to Management Access Policy Mapping and One or More Management Access Policies call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - path: /v1/api/2-52/directory-services/test name: api-2-52-directory-services-test description: REST surface for api-2.52-directory-services-test. operations: - method: GET name: get description: Pure Storage GET Directory-service/test call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Pure Storage PATCH Directory-service/test call: flasharray-rest-directory-services.patch with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: flasharray-rest-directory-services-mcp port: 9090 transport: http description: MCP adapter for FlashArray REST API — Directory Services. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pure-storage-list-directory-services description: Pure Storage List Directory Services Configuration hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-directory-services description: Pure Storage Create Directory Services Configuration hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-directory-services description: Pure Storage Delete Directory Services Configuration hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-directory-services description: Pure Storage Modify Directory Services Configuration hints: readOnly: false destructive: false idempotent: true call: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-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: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-local-user description: Pure Storage Modify Local User hints: readOnly: false destructive: false idempotent: true call: flasharray-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: flasharray-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: flasharray-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: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-list-group-management description: Pure Storage List Group to Management Access Policy Mappings hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-group-management description: Pure Storage Create a Group in Management Access Policy Mappings hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-group-management description: Pure Storage Delete Group to Management Access Policy Mappings hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-modify-group-management description: Pure Storage Modify Group to Management Access Policy Mappings hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-list-management-access description: Pure Storage List Management Access Policies Attached to a Group to Management Access Policy Mapping hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-create-membership-between description: Pure Storage Create a Membership Between a Group to Management Access Policy Mapping with One or More Management Access Policies hints: readOnly: false destructive: false idempotent: false call: flasharray-rest-directory-services.post with: body: tools.body outputParameters: - type: object mapping: $. - name: pure-storage-delete-membership-between description: Pure Storage Delete a Membership Between a Group to Management Access Policy Mapping and One or More Management Access Policies hints: readOnly: false destructive: true idempotent: true call: flasharray-rest-directory-services.delete outputParameters: - type: object mapping: $. - name: pure-storage-get-directory-service description: Pure Storage GET Directory-service/test hints: readOnly: true destructive: false idempotent: true call: flasharray-rest-directory-services.get outputParameters: - type: object mapping: $. - name: pure-storage-patch-directory-service description: Pure Storage PATCH Directory-service/test hints: readOnly: false destructive: false idempotent: true call: flasharray-rest-directory-services.patch with: body: tools.body outputParameters: - type: object mapping: $.