logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::FedoraCommons::Model::addRelationship - Perl model for the Fedora 'addRelationship' REST call

Name

       Catmandu::FedoraCommons::Model::addRelationship - Perl model for the Fedora 'addRelationship' REST call

See Also

       Catmandu::FedoraCommons

perl v5.36.0                                       2023-02-05              Catmandu::Fedo...addRelationship(3pm)

Synopsis

         use Catmandu::FedoraCommons;

         my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');

         my $obj = $fedora->addRelationship(pid => 'demo:29' , relation => [ 'info:fedora/demo:29' , 'http://my.org/name' , 'Peter'])->parse_content;

         Returns 1 on success.

See Also