...
- they must be stored as content at the path /fedora:system/fedora:transform/fedora:ldpath/[transformation name]/[type or mixintype]/fcr:content
- they should not have the name "default" as that is reserved for a default transformation
...
The following is an example of loading a LDPath program called "custom".
Code Block |
---|
curl -X POSTPUT -H "Content-Type: application/rdf+ldpath" --data-binary "@post.txt" "http://localhost:8080/rest/fedora:system/fedora:transform/fedora:ldpath/custom/nt:base/fcr:contentfedora:Container" post.txt: @prefix fcrepo : <http://fedora.info/definitions/v4/repository#> id = . :: xsd:string ; title_tsi = dc:title :: xsd:string; uuid_ssi = fcrepo:uuid :: xsd:string ; |
...