DOKK / manpages / debian 12 / libcatmandu-fedoracommons-perl / Catmandu::FedoraCommons::Model::getObjectHistory.3pm.en
Catmandu::FedoraCommons::Model::getObjectHistory(3pm) User Contributed Perl Documentation Catmandu::FedoraCommons::Model::getObjectHistory(3pm)

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

  use Catmandu::FedoraCommons;
  
  my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
  
  my $obj = $fedora->getObjectHistory(pid => 'demo:29')->parse_content;
  
  {
    'pid'     => 'demo:29' ,
    'objectChangeDate' => [
        '2008-07-02T05:09:43.234Z' ,
        '2013-02-07T18:42:24.672Z' ,
    ] ,
  }

Catmandu::FedoraCommons

2023-02-05 perl v5.36.0