Closed ryichk closed 4 months ago
APIの詳細:https://github.com/hirodesu85/GIFTech2024_backend/issues/16
$ curl -s localhost:3000/api/items | jq . { "hairs": [ { "id": 1, "name": "サンプル(後で消す)", "image_url": "https://pub-2da3b55c4b23440c8f76b2b22e4db727.r2.dev/hairs/toy_omocha_asobu_boy.webp", "gained_at": "2024-04-20T06:04:26.610Z" }, { "id": 2, "name": "サンプル2(後で消す)", "image_url": "https://pub-2da3b55c4b23440c8f76b2b22e4db727.r2.dev/hairs/d.webp", "gained_at": "2024-04-20T06:20:14.638Z" } ], "tops": [ { "id": 1, "name": "サンプル(後で消す)", "image_url": "https://pub-2da3b55c4b23440c8f76b2b22e4db727.r2.dev/top/toy_omocha_asobu_boy.webp", "gained_at": "2024-04-20T06:04:26.661Z" }, { "id": 2, "name": "サンプル2(後で消す)", "image_url": "https://pub-2da3b55c4b23440c8f76b2b22e4db727.r2.dev/top/d.webp", "gained_at": "2024-04-20T06:19:55.459Z" } ], "bottoms": [ { "id": 1, "name": "サンプル(後で消す)", "image_url": "https://pub-2da3b55c4b23440c8f76b2b22e4db727.r2.dev/bottoms/toy_omocha_asobu_boy.webp", "gained_at": "2024-04-20T06:04:26.595Z" }, { "id": 2, "name": "サンプル2(後で消す)", "image_url": "https://pub-2da3b55c4b23440c8f76b2b22e4db727.r2.dev/bottoms/d.webp", "gained_at": "2024-04-20T06:09:10.661Z" } ], "shoes": [ { "id": 1, "name": "サンプル(後で消す)", "image_url": "https://pub-2da3b55c4b23440c8f76b2b22e4db727.r2.dev/shoes/toy_omocha_asobu_boy.webp", "gained_at": "2024-04-20T06:04:26.628Z" } ] }
@Yoshino-Yukitaro ありがとうございます!マージしちゃいます!
APIの詳細:https://github.com/hirodesu85/GIFTech2024_backend/issues/16