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::listDatastreams - Perl model for the Fedora 'listDatastreams' REST call

Name

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

See Also

       Catmandu::FedoraCommons

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

Synopsis

         use Catmandu::FedoraCommons;

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

         my $obj = $fedora->listDatastreams(pid => 'demo:29')->parse_content;

         {
           'pid'     => 'demo:29' ,
           'baseURL' => 'http://localhost:8080/fedora/' ,
           'datastream' => [
               {
                 'dsid'  => 'DC' ,
                 'label' => 'Dublin Core Record for this object' ,
                 'mimeType' => 'text/xml' ,
               },
               {
                 'dsid'  => 'RELS-EXT' ,
                 'label' => 'RDF Statements about this object' ,
                 'mimeType' => 'application/rdf+xml' ,
               },
               {
                 'dsid'  => 'url' ,
                 'label' => 'Thorny\'s Coliseum high jpg image' ,
                 'mimeType' => 'text/xml' ,
               },
           ] ,
         }

See Also