Catman...streams(3pm)
β¨ NAME β¨
Catmandu::FedoraCommons::Model::listDatastreams β bestie, it's the Perl model for the Fedora listDatastreams REST call π
(you'll also see it hanging out as Catman...streams(3pm) in the wild, iykyk)
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, literally copy-paste energy:
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' ,
},
] ,
}
not me constructing the object, hitting <code>listDatastreams</code> with <code>pid => 'demo:29'</code>, and calling <code>->parse_content</code> on the result like it's nothing π«Ά
π¦ DESCRIPTION π¦
Real talk: this module is the Perl model for the Fedora listDatastreams REST call. That's the whole assignment, and it ate. π
π SEE ALSO π
Catmandu::FedoraCommonsβ the main character this one's riding with π
and that's a wrap, bestie!! π this gorgeous little page came to you via perl v5.36.0, dated 2023-02-05, filed under Catman...streams(3pm) β slay, no cap, go read your datastreams πβ¨π
π¦ where this page comes from
- debian bookworm: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms