naftiko: 1.0.0-alpha2 info: label: Microsoft Purview Data Map API — Relationship description: 'Microsoft Purview Data Map API — Relationship. 4 operations. Lead operation: Microsoft Purview Create a relationship. Self-contained Naftiko capability covering one Microsoft Purview business surface.' tags: - Microsoft Purview - Relationship created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_PURVIEW_API_KEY: MICROSOFT_PURVIEW_API_KEY capability: consumes: - type: http namespace: data-map-relationship baseUri: https://{accountName}.purview.azure.com/datamap description: Microsoft Purview Data Map API — Relationship business capability. Self-contained, no shared references. resources: - name: api-atlas-v2-relationship path: /api/atlas/v2/relationship operations: - name: relationshipcreate method: POST description: Microsoft Purview Create a relationship outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: api-version in: query type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: relationshipupdate method: PUT description: Microsoft Purview Update a relationship outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: api-version in: query type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-atlas-v2-relationship-guid-guid path: /api/atlas/v2/relationship/guid/{guid} operations: - name: relationshipget method: GET description: Microsoft Purview Get relationship by GUID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: guid in: path type: string required: true - name: api-version in: query type: string required: true - name: extendedInfo in: query type: boolean - name: relationshipdelete method: DELETE description: Microsoft Purview Delete a relationship outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: guid in: path type: string required: true - name: api-version in: query type: string required: true authentication: type: bearer token: '{{env.MICROSOFT_PURVIEW_API_KEY}}' exposes: - type: rest namespace: data-map-relationship-rest port: 8080 description: REST adapter for Microsoft Purview Data Map API — Relationship. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/atlas/v2/relationship name: api-atlas-v2-relationship description: REST surface for api-atlas-v2-relationship. operations: - method: POST name: relationshipcreate description: Microsoft Purview Create a relationship call: data-map-relationship.relationshipcreate with: api-version: rest.api-version body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: relationshipupdate description: Microsoft Purview Update a relationship call: data-map-relationship.relationshipupdate with: api-version: rest.api-version body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/atlas/v2/relationship/guid/{guid} name: api-atlas-v2-relationship-guid-guid description: REST surface for api-atlas-v2-relationship-guid-guid. operations: - method: GET name: relationshipget description: Microsoft Purview Get relationship by GUID call: data-map-relationship.relationshipget with: guid: rest.guid api-version: rest.api-version extendedInfo: rest.extendedInfo outputParameters: - type: object mapping: $. - method: DELETE name: relationshipdelete description: Microsoft Purview Delete a relationship call: data-map-relationship.relationshipdelete with: guid: rest.guid api-version: rest.api-version outputParameters: - type: object mapping: $. - type: mcp namespace: data-map-relationship-mcp port: 9090 transport: http description: MCP adapter for Microsoft Purview Data Map API — Relationship. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-purview-create-relationship description: Microsoft Purview Create a relationship hints: readOnly: false destructive: false idempotent: false call: data-map-relationship.relationshipcreate with: api-version: tools.api-version body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-purview-update-relationship description: Microsoft Purview Update a relationship hints: readOnly: false destructive: false idempotent: true call: data-map-relationship.relationshipupdate with: api-version: tools.api-version body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-purview-get-relationship-guid description: Microsoft Purview Get relationship by GUID hints: readOnly: true destructive: false idempotent: true call: data-map-relationship.relationshipget with: guid: tools.guid api-version: tools.api-version extendedInfo: tools.extendedInfo outputParameters: - type: object mapping: $. - name: microsoft-purview-delete-relationship description: Microsoft Purview Delete a relationship hints: readOnly: false destructive: true idempotent: true call: data-map-relationship.relationshipdelete with: guid: tools.guid api-version: tools.api-version outputParameters: - type: object mapping: $.