cURL
curl --request GET \ --url https://api.example.com/api/sites \ --header 'Authorization: <authorization>'
{ "id": "<string>", "slug": "<string>", "isPublic": true, "screenshot": "<string>" }
認証済みユーザーが所有するサイト一覧を取得
Bearer xxx
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" } ]