You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Title (Goal)

As a developer, I would like to write an extension to add http 'Link' headers to Fedora's REST API responses

Primary Actor

Developer

Scope

 

Level

 

Author

Aaron Birkland

Story (A paragraph or two describing what happens)

As a developer using Fedora as a repository for publication data, I am interested in exploring signposting as a way to label the links between scholarly resources using http headers. As this effort is still in its early stage, I'd like to do some experimentation, so I'd like to write an API Extension module that will add specific http headers to responses for certain Fedora resources. As a concrete example, we'd initially like to add a rel='canonical' link header pointing to the DOI of record, as shown here.

API Extension Architecture's role:

  • Provide a means of filtering/enhancing the representation of existing Fedora objects in an extension.  In this case, that means adding a link header to the HTTP response.

Developer's role:

  • Create and deploy an API Extension module that implements the desired headers.

Fedora's role:

  • Provide its usual representation of a given resource

 

  • No labels