---
name: "Catmandu::FedoraCommons::Model::ingest"
section: "3pm"
platform: "linux"
package: "libcatmandu-fedoracommons-perl"
version: "0.5-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::FedoraCommons::Model::ingest"
---

# Catmandu::FedoraCommons::Model::ingest(3pm)

Perl model for the Fedora 'ingest' REST call

## NAME

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

## SYNOPSIS

```
  use Catmandu::FedoraCommons;

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

  my $obj = $fedora->ingest(pid => 'demo:40', file => 't/obj_demo_40.zip', format => 'info:fedora/fedora-system:ATOMZip-1.1')->parse_content;

  {
    'pid' => 'demo:40'
  }
```

## SEE ALSO

Catmandu::FedoraCommons
