5e-bits / 5e-bits/5e-database

Additional Response Headers

オープン
#510 コメント 3 件 リアクション 0 件 担当者 1 名 @bagelbits が担当を希望しています GitHub で見る
主要言語
TypeScript
スター
934
フォーク
427
平均マージ
17時間 25分
マージ済み PR(30日)
22

説明

Either to the Response Headers or Response data, it would be helpful to include `last-modified` - a date for when the item, monster, etc. was added to the SRC or last edited. This would help identify when an individual index ( i.e animated-shield ) was last modified.

Currently `date` Response Header outputs today's date.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Look at the API response handling code to see where headers are set. The issue mentions the 'date' header currently outputs today's date; find that logic and modify it to include a 'last-modified' header based on the item's actual modification date. Check the data models for monsters and items to see if they have timestamps. Test by making a request to an endpoint like /api/monsters or /api/items and verifying the new header appears.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
api
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。