{
  "slug": "quotes",
  "title": "名言",
  "description": "古今東西の名言。出典が明確でないものは source に「帰属には諸説あり」と記している。D1 に格納。",
  "documentation": "/docs/quotes",
  "count": 60,
  "idField": "id",
  "idAliases": [],
  "fields": [
    "id",
    "text",
    "author",
    "authorKana",
    "lang",
    "category",
    "source"
  ],
  "searchFields": [
    "text",
    "author",
    "authorKana",
    "category",
    "source"
  ],
  "storage": "d1",
  "endpoints": [
    {
      "path": "/quotes",
      "description": "このAPIのメタ情報"
    },
    {
      "path": "/quotes/all",
      "description": "全件取得",
      "query": [
        "limit",
        "offset",
        "sort",
        "order",
        "fields",
        "pretty"
      ]
    },
    {
      "path": "/quotes/random",
      "description": "ランダムに1件（?count=n で複数、?seed= で再現可能）",
      "query": [
        "count",
        "seed",
        "fields",
        "pretty"
      ]
    },
    {
      "path": "/quotes/search",
      "description": "部分一致検索（対象: text, author, authorKana, category, source）",
      "query": [
        "q",
        "limit",
        "offset",
        "sort",
        "order",
        "fields",
        "pretty"
      ]
    },
    {
      "path": "/quotes/fields",
      "description": "フィールド名の一覧"
    },
    {
      "path": "/quotes/getId",
      "description": "そのフィールドの全件分の値（?id= を付けると1件分）",
      "query": [
        "id",
        "unique",
        "pretty"
      ]
    },
    {
      "path": "/quotes/:id",
      "description": "ID 指定で1件"
    },
    {
      "path": "/quotes/:id/:field",
      "description": "1件の特定フィールドだけ"
    }
  ],
  "examples": [
    "/quotes/1",
    "/quotes/random",
    "/quotes/all?limit=5",
    "/quotes/search?q=Dijkstra",
    "/quotes/getAuthor?unique=1"
  ]
}