...
Code Block |
---|
# Create a binary without providing a digest echo "test content" | curl -XPUT http://localhost:8080/rest/binary_with_default --data-binary @- # Retrieve the binary's metadata curl http://localhost:8080/rest/binary_with_default/fcr:metadata # <http://localhost:8080/rest/binary_with_default> # ... # premis:hasSize "13"^^<http://www.w3.org/2001/XMLSchema#long> ; # premis:hasMessageDigest <urn:sha-512:b22137a0e8969282b85e3f9375448307d14c5aabf41be66c4f6a0323bd03a3935972021e4c34aa30914e37b03c22594fe180eea9790e9ff147016c9dfae39d5a> ; # fedora:hasFixityService <http://localhost:8080/rest/binary_with_default/fcr:fixity> . |