{
  "openapi": "3.0.3",
  "info": {
    "title": "Playground API — Media",
    "version": "1.0.0",
    "description": "Zero-config per-identity sandboxed mock REST API with relational filtering, dynamic sorting, and network simulation."
  },
  "servers": [
    {
      "url": "http://playground-api-xi.vercel.app",
      "description": "Default Server"
    }
  ],
  "paths": {
    "/public/avatars/{seed}.svg": {
      "get": {
        "parameters": [
          {
            "name": "seed",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "size",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rounded",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "example": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 128 128\" width=\"128\" height=\"128\">\n  <defs>\n    <linearGradient id=\"grad-12345\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n      <stop offset=\"0%\" stop-color=\"#059669\" />\n      <stop offset=\"100%\" stop-color=\"#0d9488\" />\n    </linearGradient>\n  </defs>\n  <rect width=\"128\" height=\"128\" rx=\"64\" fill=\"url(#grad-12345)\" />\n  <text x=\"50%\" y=\"54%\" font-family=\"Inter, sans-serif\" font-size=\"54\" font-weight=\"700\" fill=\"#ffffff\" text-anchor=\"middle\" dominant-baseline=\"middle\">BR</text>\n</svg>"
              }
            }
          }
        }
      }
    },
    "/public/thumbnails/{seed}.svg": {
      "get": {
        "parameters": [
          {
            "name": "seed",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "width",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "height",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "example": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 600 400\" width=\"600\" height=\"400\">\n  <defs>\n    <linearGradient id=\"thumb-grad-54321\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n      <stop offset=\"0%\" stop-color=\"#4f46e5\" />\n      <stop offset=\"100%\" stop-color=\"#7c3aed\" />\n    </linearGradient>\n  </defs>\n  <rect width=\"600\" height=\"400\" fill=\"url(#thumb-grad-54321)\" />\n  <text x=\"50%\" y=\"46%\" font-family=\"Inter, sans-serif\" font-size=\"33\" font-weight=\"700\" fill=\"#ffffff\" text-anchor=\"middle\" dominant-baseline=\"middle\">Post #1</text>\n</svg>"
              }
            }
          }
        }
      }
    }
  }
}