Skip to content

Feature request: Add the ability to configure a Harvesting Client to add a custom header to OAI calls #9231

@landreev

Description

@landreev

(creating this as a followup to an email discussion; making this a NIH GREI deliverable has been mentioned)

This is a request from/for a specific collaboration - integration of Dataverse with Data Monitor. The idea is that an admin will be able to configure a Harvesting Client with some entry(-ies) to be added as extra HTTP headers when making requests to the OAI archive in question. Specifically in their use case this extra header will contain a special token issued by the remote archive (DM), authorizing the client to receive some extra content (that, I'm assuming, they don't want to be fully public).

It feels like this would be something very doable. On the Dataverse side, I'm seeing this as another entry on the Harvesting Client config form ("Custom Headers"), and another entry in the json format that /api/harvest/clients understands. We'll add another column to the clients db table to store these entries.

The only remotely tricky part here is that it will require a PR into gdcc/xoai as well - because that's where the http requests are cooked. Should still be straightforward.

Metadata

Metadata

Assignees

Labels

FY26 Sprint 4FY26 Sprint 4 (2025-08-13 - 2025-08-27)Size: 80A percentage of a sprint. 56 hours.pm.GREI-d-1.4.1NIH, yr1, aim4, task1: Resolve OAI-PMH harvesting issuespm.GREI-d-1.4.2NIH, yr1, aim4, task2: Create working group on packaging standards

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions