Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update LDPath link

Indexing transformations are stored in the repository in a well-known location.  Default transformations are inserted into the repository the first time any access is made against the Fedora 4 transformation endpoint.  Currently transformations using ldpath LDPath are supported.

Transformation locations

In order for ldpath LDPath transformations to be accessed by name, they must be stored in the repository according to the following rules:

...

The following is an example of loading a LDPATH LDPath program called "custom".

Code Block
curl -X POST -H "Content-Type: application/rdf+ldpath" --data-binary "@post.txt" "http://localhost:8080/rest/fedora:system/fedora:transform/fedora:ldpath/custom/nt:base/fcr:content"

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 ;

...