リクエスト
Firebase IDトークン (Bearer xxx)
パラメータは不要です。
Example Request
curl https://app.hirameki-web.com/api/sites \
-H "Authorization: Bearer {token}"
レスポンス
[
{
"id": "bcd0ed35-9c1b-4ecf-b64a-xxxx",
"name": "Sunny Cafe",
"slug": "sunny-cafe",
"description": "温かみのあるカフェサイト",
"url": "/site/u-1234-bcd0ed35/",
"path": "u-1234-bcd0ed35/pages/01.home",
"status": "active",
"isPublic": true,
"lastModified": "2026-02-05",
"screenshot": "/screenshots/sunny-cafe.png"
}
]
Puppeteerで生成されたサムネイル画像の相対パス
- Firebase UIDと紐づくサイトのみ返却されます
- ファイルシステム上にディレクトリが存在しない場合は自動的にスキップされます