Works for me. Just added an explicit ingest test (with sample AtomZip package) 
to fedora-client (which uses the REST API):

        
https://github.com/mediashelf/fedora-client/commit/243d94add0e656e6e14bc0fb0d26a8b1a39fe3c0

Are you correctly setting the format as "info:fedora/fedora-system:ATOMZip-1.1"?

-Eddie

On 16 Apr 2012, at 9:36 PM, Nicholas W wrote:

> Dear All,
> Looking at https://wiki.duraspace.org/display/FEDORA35/REST+API#RESTAPI-ingest
> it looks as though it should be possible to injest AtomZIP1.1 through
> the fedora RestAPI. Unless I have not understood correctly the format
> of an AtomZip injest file should be a ZIP file, containing the streams
> and a manifest. I have a zip file, and I believe it to be semantically
> correct for an AtomZip, but if I post it to
> 
> http://my.fedora.server/fedora/objects/new?format=info%3Afedora%2Ffedora-system%3AATOMZip-1.1
> 
> I get the following error:
> 
> Unsupported Media Type (415) - Unsupported Media Type
> 
> The mediatype I am sending is:
> application/zip
> 
> Interestingly the documentation for injest just talks about XML files,
> however here:
> 
> http://www.fedora-commons.org/documentation/3.0/userdocs/digitalobjects/atom.html#formats.fatomz
> 
> it does say it should be a zip file.
> 
> Please let me know what I am doing wrong.
> 
> Thanks a lot,
> Regards,
> Nicholas W.
> 
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to