{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Purview Data Security and Governance API",
    "version": "v1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Sensitivity Labels",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Purview List tenant sensitivity labels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/security/dataSecurityAndGovernance/sensitivityLabels",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query"
              },
              {
                "name": "$count",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List the sensitivity labels available for the entire tenant. When using application permissions, returns all labels for the tenant by default."
        },
        {
          "info": {
            "name": "Microsoft Purview Get a tenant sensitivity label",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/security/dataSecurityAndGovernance/sensitivityLabels/:sensitivityLabelId",
            "params": [
              {
                "name": "sensitivityLabelId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a sensitivity label by its identifier at the tenant level."
        }
      ]
    },
    {
      "info": {
        "name": "DLP Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Purview Evaluate DLP application for content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/security/dataSecurityAndGovernance/sensitivityLabels/microsoft.graph.security.evaluateApplication",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Evaluate which DLP policies apply to the given content and compute the set of actions that should be taken."
        },
        {
          "info": {
            "name": "Microsoft Purview Process content for DLP",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/security/dataSecurityAndGovernance/processContent",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Process content through DLP pipeline to evaluate and enforce data loss prevention policies at runtime."
        }
      ]
    },
    {
      "info": {
        "name": "Protection Scopes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Purview Compute protection scopes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/security/dataSecurityAndGovernance/protectionScopes/microsoft.graph.security.computeProtectionScopes",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Compute the protection scopes applicable to content to determine which DLP policies should be enforced."
        }
      ]
    }
  ],
  "bundled": true
}