It would be useful for caching purposes to expose an endpoint that returns info on the current pokeapi deployed version. Something like:
GET /api/v2/meta
{
"deploy_date": "UTC date",
"hash": "hash value that changes at every deploy",
"tag": "if the version is tagged, the tag"
}
One could use the hash value to know whether to flush the cache or not.
Reactions are currently unavailable
It would be useful for caching purposes to expose an endpoint that returns info on the current pokeapi deployed version. Something like:
GET /api/v2/meta
{ "deploy_date": "UTC date", "hash": "hash value that changes at every deploy", "tag": "if the version is tagged, the tag" }One could use the hash value to know whether to flush the cache or not.