Skip to content

Expose endpoint with version/hash #1432

@Naramsim

Description

@Naramsim

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions