NAME

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

SYNOPSIS

use Catmandu::FedoraCommons;

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

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

{
  'pid'     => 'demo:29' ,
  'objLabel'       => 'Data Object for Image Manipulation Demo' ,
  'objOwnerId'     => 'fedoraAdmin' ,
  'objCreateDate'  => '2008-07-02T05:09:42.015Z' ,
  'objLastModDate' => '2013-02-07T19:57:27.140Z' ,
  'objDissIndexViewURL' => 'http://localhost:8080/fedora/objects/demo%3A29/methods/fedora-system%3A3/viewMethodIndex' ,
  'objItemIndexViewURL' => 'http://localhost:8080/fedora/objects/demo%3A29/methods/fedora-system%3A3/viewItemIndex' ,
  'objState'       => 'I' ,
  'objModels'      => [
      'info:fedora/fedora-system:FedoraObject-3.0' ,
      'info:fedora/demo:UVA_STD_IMAGE' ,
  ],
}

SEE ALSO

Catmandu::FedoraCommons