naftiko: 1.0.0-alpha2 info: label: Microsoft Power Apps Microsoft Dataverse Web API — Contacts description: 'Microsoft Power Apps Microsoft Dataverse Web API — Contacts. 5 operations. Lead operation: Microsoft Power Apps Retrieve Multiple Contacts. Self-contained Naftiko capability covering one Microsoft Power Apps business surface.' tags: - Microsoft Power Apps - Contacts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_POWER_APPS_API_KEY: MICROSOFT_POWER_APPS_API_KEY capability: consumes: - type: http namespace: dataverse-web-contacts baseUri: https://{organization}.api.crm.dynamics.com/api/data/v9.2 description: Microsoft Power Apps Microsoft Dataverse Web API — Contacts business capability. Self-contained, no shared references. resources: - name: contacts path: /contacts operations: - name: getcontacts method: GET description: Microsoft Power Apps Retrieve Multiple Contacts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcontact method: POST description: Microsoft Power Apps Create a New Contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: contacts({contactid}) path: /contacts({contactid}) operations: - name: getcontact method: GET description: Microsoft Power Apps Retrieve a Single Contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contactid in: path type: string description: Unique identifier (GUID) of the contact record. required: true - name: updatecontact method: PATCH description: Microsoft Power Apps Update an Existing Contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contactid in: path type: string description: Unique identifier (GUID) of the contact record. required: true - name: If-Match in: header type: string description: Used for optimistic concurrency control. Set to the ETag value of the record to ensure you are updating the latest version. - name: body in: body type: object description: Request body (JSON). required: true - name: deletecontact method: DELETE description: Microsoft Power Apps Delete a Contact outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contactid in: path type: string description: Unique identifier (GUID) of the contact record. required: true authentication: type: bearer token: '{{env.MICROSOFT_POWER_APPS_API_KEY}}' exposes: - type: rest namespace: dataverse-web-contacts-rest port: 8080 description: REST adapter for Microsoft Power Apps Microsoft Dataverse Web API — Contacts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/contacts name: contacts description: REST surface for contacts. operations: - method: GET name: getcontacts description: Microsoft Power Apps Retrieve Multiple Contacts call: dataverse-web-contacts.getcontacts outputParameters: - type: object mapping: $. - method: POST name: createcontact description: Microsoft Power Apps Create a New Contact call: dataverse-web-contacts.createcontact with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/contacts-contactid name: contacts-contactid description: REST surface for contacts({contactid}). operations: - method: GET name: getcontact description: Microsoft Power Apps Retrieve a Single Contact call: dataverse-web-contacts.getcontact with: contactid: rest.contactid outputParameters: - type: object mapping: $. - method: PATCH name: updatecontact description: Microsoft Power Apps Update an Existing Contact call: dataverse-web-contacts.updatecontact with: contactid: rest.contactid If-Match: rest.If-Match body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecontact description: Microsoft Power Apps Delete a Contact call: dataverse-web-contacts.deletecontact with: contactid: rest.contactid outputParameters: - type: object mapping: $. - type: mcp namespace: dataverse-web-contacts-mcp port: 9090 transport: http description: MCP adapter for Microsoft Power Apps Microsoft Dataverse Web API — Contacts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-power-apps-retrieve-multiple description: Microsoft Power Apps Retrieve Multiple Contacts hints: readOnly: true destructive: false idempotent: true call: dataverse-web-contacts.getcontacts outputParameters: - type: object mapping: $. - name: microsoft-power-apps-create-new description: Microsoft Power Apps Create a New Contact hints: readOnly: false destructive: false idempotent: false call: dataverse-web-contacts.createcontact with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-power-apps-retrieve-single description: Microsoft Power Apps Retrieve a Single Contact hints: readOnly: true destructive: false idempotent: true call: dataverse-web-contacts.getcontact with: contactid: tools.contactid outputParameters: - type: object mapping: $. - name: microsoft-power-apps-update-existing description: Microsoft Power Apps Update an Existing Contact hints: readOnly: false destructive: false idempotent: true call: dataverse-web-contacts.updatecontact with: contactid: tools.contactid If-Match: tools.If-Match body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-power-apps-delete-contact description: Microsoft Power Apps Delete a Contact hints: readOnly: false destructive: true idempotent: true call: dataverse-web-contacts.deletecontact with: contactid: tools.contactid outputParameters: - type: object mapping: $.