Skip to content

4478: Surface the checksum in API and dkan:dataset-info#4642

Draft
paul-m wants to merge 2 commits into
2.xfrom
4478-expose-checksum-in-the-api
Draft

4478: Surface the checksum in API and dkan:dataset-info#4642
paul-m wants to merge 2 commits into
2.xfrom
4478-expose-checksum-in-the-api

Conversation

@paul-m

@paul-m paul-m commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Addresses [#4478]

Describe your changes

Enables LOCAL_URL_PERSPECTIVE to inherit the checksum from LOCAL_FILE_PERSPECTIVE.

We really should get rid of LOCAL_URL_PERSPECTIVE altogether, but this is a more minimal change.

% ddev drush dkan:dataset-info 95f8eac4-fd1f-4b35-8472-5c87e9425dfa      
{
    "latest_revision": {
        "uuid": "95f8eac4-fd1f-4b35-8472-5c87e9425dfa",
[...]
        "distributions": [
            {
[...]
                "file_path": "public:\/\/resources\/6e5a8b0e5f9ae95d1e239844aaab2db4_1767909623\/Asthma-Prevalence-Map-2017.csv",
                "file_checksum": "504180d7a251b915e5494bc48690dd6d",
[...]
            }
        ]
    }
}

QA Steps

  • Add manual QA steps in checklist format for a reviewer to perform. Be as specific as possible, provide examples if appropriate.

Checklist before requesting review

If any of these are left unchecked, please provide an explanation

  • I have updated or added tests to cover my code
  • I have updated or added documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant