URL Syntax /objects/{pid}/export ? [format] [context] [encoding] HTTP Method GET HTTP Response 200 Parameters Name | Description | Default | Options |
---|
{pid} | persistent identifier of the digital object | | | format | the XML format to export | info:fedora/fedora-system:FOXML-1.1 | info:fedora/fedora-system:FOXML-1.1, info:fedora/fedora-system:FOXML-1.0, info:fedora/fedora-system:METSFedoraExt-1.1, info:fedora/fedora-system:METSFedoraExt-1.0, info:fedora/fedora-system:ATOM-1.1, info:fedora/fedora-system:ATOMZip-1.1 | context | the export context, which determines how datastream URLs and content are represented | public | - public: This is context is appropriate when the exporting repository will continue to exist and will continue to support callback URLs for datastream content and disseminations. This gives a "public" export of an object in which all relative repository URLs AND internal identifiers are converted to absolute callback URLs.
- migrate: This context is appropriate when the local repository will NOT be available after objects have been migrated to a new repository. For External (E) and Redirected (R)datastreams, any URLs that are relative to the local repository will be expressed with the Fedora local URL syntax (which consists of the string "local.fedora.server" standing in place of the actual "hostname:port"). Managed content (M) datastream identifiers are converted into default dissemination URLs.
- archive: This context is appropriate for creating a stand alone archive of objects from a repository that will NOT be available after objects have been exported. For External (E) and Redirected (R) datastreams, any URLs that are relative to the local repository will be expressed with the Fedora local URL syntax (see "migrate
, archive- "). Managed content (M) datastream identifiers are converted into default dissemination URLs, and their contents included inline via base-64 encoding.
| encoding | the preferred encoding of the exported XML | UTF-8 | |
Examples /objects/demo:29/export /objects/demo:29/export?context=migrate |