Expected behavior of Copy Content API

5 views
Skip to first unread message

David Chandek-Stark

unread,
Jan 31, 2017, 1:16:11 PM1/31/17
to DuraCloud Users
I would like some clarification on the expected behavior of the Copy Content operation.

With respect to the target, does it implement the same error responses as Store Content?

400 (if the content ID is invalid)
404 (if the the given space does not exist)
409 (if the provided checksum did not match the stored content checksum)
500 (on error)

Thanks,
David

Daniel Bernstein

unread,
Feb 1, 2017, 2:37:47 PM2/1/17
to DuraCloud Users
Hi David, 

That's the way it should be.   In the case of copy,  the checksum is not provided so that 409 does not apply.  However,  you will get a 409 if you are trying to copy content from Glacier to another storage provider without first restoring the content from Glacier.

If you're seeing something unexpected, please let us know (via JIRA of course).

Thanks, 

Daniel

************************************
Daniel Bernstein
Software Engineer, Duraspace
707.874.2045 (office)



--
You received this message because you are subscribed to the Google Groups "DuraCloud Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to duracloud-users+unsubscribe@googlegroups.com.
To post to this group, send email to duracloud-users@googlegroups.com.
Visit this group at https://groups.google.com/group/duracloud-users.
For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages