Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

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

Compare with Current View Page History

Version 1 Next »

Request URI: /path/to/some/resource/fcr:fixity

Methods: GET

GET  Get the fixity report for an object

Checking fixity requires retrieving the content from the binary store and may take some time.

 

Request Headers:

ACCEPT   application/ld+json, application/n-triples, application/rdf+xml, application/x-turtle, application/xhtml+xml, application/xml, text/html, text/n3, text/plain, text/rdf+n3, text/turtle

 

Example:


Response (fixity success):


Response (fixity failure):


Status:

200   OK

404  Resource not found

Default Fixity Algorithm

When ingesting a binary resource, one or more checksums may be provided, see RESTful HTTP API - Containers (POST example 4b). The supported algorithms are: SHA-1, SHA-256 and MD5.
By default, the algorithm used by the Fixity service is SHA-1. However, that may be changed to one of the other supported algorithms by configuring the property: fedoraconfig:defaultDigestAlgorithm . See RESTful HTTP API - Containers (PATCH example 2).

 


  • No labels