We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Example of updating ebucore:filename in content metadata:
ebucore:filename
content
PATCH: http://127.0.0.1:8983/fedora/rest/dev/05/74/1r/77/05741r77z/content/fcr:metadata
PATCH
Where the URI can be generated with:
GenericFile.first.content.ldp_source.subject + "/fcr:metadata"
Headers: Content-Type: application/sparql-update
Content-Type: application/sparql-update
In body: SPARQL query to replace the filename:
PREFIX ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> DELETE { <> ebucore:filename "<old_filename>" . } INSERT { <> ebucore:filename "<new_filename>" . } WHERE { }
File name can be determined with:
GenericFile.first.content.original_name