{
  "ok": true,
  "service": "iatlas-browser-openapi",
  "version": "0.5.2",
  "limitPerDay": 1000,
  "auth": {
    "header": "Authorization: Bearer <apiKey>",
    "alternateHeader": "X-API-Key: <apiKey>"
  },
  "endpoints": [
    {
      "method": "POST",
      "path": "/v1/register",
      "body": {
        "email": "user@example.com"
      },
      "description": "Create or rotate an API key bound to an email address"
    },
    {
      "method": "GET",
      "path": "/v1/usage",
      "description": "Get current daily usage for the authenticated API key"
    },
    {
      "method": "POST",
      "path": "/v1/open",
      "body": {
        "url": "https://example.com",
        "mode": "metadata",
        "timeoutMs": 15000
      },
      "description": "Fetch a public http/https URL and return metadata, text, or HTML"
    },
    {
      "method": "GET",
      "path": "/v1/catalog/sites",
      "description": "List the full adapter catalog, including lao-s entries and hosted API extensions"
    },
    {
      "method": "GET",
      "path": "/v1/catalog/site?name=github/repo",
      "description": "Get one site adapter definition by name"
    },
    {
      "method": "GET",
      "path": "/v1/sites/hosted",
      "description": "List the adapters that can be executed directly on miaoda.vip"
    },
    {
      "method": "POST",
      "path": "/v1/sites/run",
      "body": {
        "name": "github/repo",
        "args": {
          "repo": "miounet11/lao"
        }
      },
      "description": "Run a hosted site adapter on the remote server"
    }
  ]
}
