Power BI DAX Wizard

Power BI DAX Wizard · GPT-Aktionen

Microsoft Learn Catalog API

API to retrieve the Microsoft Learn catalog with various filtering options.

  • GET /Retrieves the Microsoft Learn catalog.

    Retrieves the Microsoft Learn catalog with optional filtering parameters.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Microsoft Learn Catalog API",
    "description": "API to retrieve the Microsoft Learn catalog with various filtering options.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://learn.microsoft.com/api/catalog",
      "description": "Microsoft Learn Catalog API Server"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "operationId": "getCatalog",
        "summary": "Retrieves the Microsoft Learn catalog.",
        "description": "Retrieves the Microsoft Learn catalog with optional filtering parameters.",
        "parameters": [
          {
            "name": "locale",
            "in": "query",
            "description": "A single, valid locale code. Defaults to en-us if not specified.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "A comma-separated list of content types (e.g., modules, units).",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "product",
            "in": "query",
            "description": "A comma-separated list of products.",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "power-platform,power-apps"
          },
          {
            "name": "level",
            "in": "query",
            "description": "A comma-separated list of levels.",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "beginner,intermediate"
          },
          {
            "name": "last_modified",
            "in": "query",
            "description": "An operator and datetime to filter by last modified date.",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "gte 2023-01-01"
          },
          {
            "name": "page",
            "in": "query",
            "description": "The page number to retrieve.",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "example": 1
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "The number of items per page.",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "example": 5
          }
        ],
        "responses": {
          "200": {
            "description": "Success. The response includes JSON-encoded data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "modules": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid query parameter."
          },
          "404": {
            "description": "URL not found."
          },
          "500": {
            "description": "Server error."
          },
          "503": {
            "description": "Service temporarily unavailable."
          }
        }
      }
    }
  }
}