Export to GitHub

python-fedoracommons-webarchive - DefaultURLScheme.wiki


Details

NB - 'archive-host' is the IP/name of the server running the app and lication'pid' stands for the object's id

Browse URLs

Resource URLs

Relationships and properties for objects - RDF

OAI-ORE Resource Maps for objects -

An HTTP GET on this URL will undergo content negotiation - Based on what mimetype responses the request header 'Accept' contains, you will be redirected to either the splash page for the item, or to a serialisation of the requisite resource map.

info:fedora/XXX:XXX resolver -

  • http://archive-host:5000/resolve/[Fedora URI] -> Dereference a Fedora URI of the form info:fedora/pid. A HTTP GET on this URL will result in producing the HTML human readable record page for the item.
  • On a side note, a HTTP GET on a Fedora URI with the datastream ID - info:fedora/pid/datastream will result in initiating the download for that datastream.

Resource URLs and accessing past versions

Note that including the date after the pid will reference a revision of the pid at the date asked for:

Note that I don't think I'll be able to easily version the range of things I'd like to show on the relationships pages. For the rest, the internal mechnism that Fedora uses to store the revisions of the items fits the pattern I have used above, so this functionality is more a case of exposing and using it, than coding it myself. Search URLs to top