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

Catmandu::FedoraCommons::Model::getDatastreamDissemination - Perl model for the Fedora 'getDatastreamDissemination' or 'getDissemination' REST call

  use Catmandu::FedoraCommons;
  
  my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
  
  my $obj = $fedora->purgeDatastream(pid => 'demo:29', dsID => 'TEST')->parse_content;
  
  Returns the bytes returned.

Catmandu::FedoraCommons

2023-02-05 perl v5.36.0