Catmandu::FedoraCommons::Model::datastreamProfile(3pm) | User Contributed Perl Documentation | Catmandu::FedoraCommons::Model::datastreamProfile(3pm) |
Catmandu::FedoraCommons::Model::datastreamProfile - Perl model for the Fedora 'addDatastream', 'getDatastream', 'modifyDatastream','setDatastreamState' and 'setDatastreamVersionable' REST call
use Catmandu::FedoraCommons; my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin'); my $obj = $fedora->getDatastream(pid => 'demo:29', dsID => 'DC')->parse_content; { 'pid' => 'demo:29' , 'dsID' => 'DC', 'dateTime' => '2008-07-02T05:09:43.234Z' , 'profile' => { 'dsLabel' => 'Dublin Core Record for this object' , 'dsVersionID' => 'DC1.0' , 'dsCreateDate' => '2008-07-02T05:09:43.234Z' , 'dsState' => 'A' , 'dsMIME' => 'text/xml' , 'dsFormatURI' => 'http://www.openarchives.org/OAI/2.0/oai_dc/' , 'dsControlGroup' => 'X' , 'dsSize' => 626, 'dsVersionable' => 'true' , 'dsInfoType' => '' , 'dsLocation' => 'demo:29+DC+DC1.0' , 'dsLocationType' => '' , 'dsChecksumType' => 'DISABLED' , 'dsChecksum' => 'none' , } }
Catmandu::FedoraCommons
2023-02-05 | perl v5.36.0 |