Skip to content

Add MD5 hash information to the dataset information #1657

@davidgamez

Description

@davidgamez

Describe the problem

Currently, the dataset's hash is computed using SHA-256. Many clients rely on MD5 as it's a common hash algorithm for cloud and storage services.

Proposed solution

  • Add MD5 hash information to the dataset OpenApi entity as hash_md5. Also, update the documentation for the current hash property, adding the algorithm used to generate it (SHA-256).
    Affected endpoints:

    • v1/gtfs_feeds/{id}/datasets
    • v1/gtfs_feeds/{id} (latestdataset)
    • v1/gtfs_feeds/ (latestdataset)
    • v1/gtfs_datasets/{id}
    • v1/search/
  • Compute the MD5 hash when a new dataset is downloaded

  • Update previously downloaded datasets' MD5 information

Alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions