talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

import service with media

MJ
Mohammad Jumah
Sat, Jul 15, 2017 8:42 PM

Hello

I'm trying to import a batch of media using the import service.
How should my xml look like to upload a media available on another
location?

The xml below works when I run the curl command from wiki, but does not
upload the media.

<imports>  <import service="Media" type="Media">    <schema xmlns:media_common="http://collectionspace.org/services/media <http://collectionspace.org/services/media>" name="media_common">
<identificationNumber>MR2017.1.200</identificationNumber>
<sourceUrl>https://photos.12345 https://photos.12345</sourceUrl>
</schema>  </import>

Many thanks,
Mo

Hello I'm trying to import a batch of media using the import service. How should my xml look like to upload a media available on another location? The xml below works when I run the curl command from wiki, but does not upload the media. *<imports> <import service="Media" type="Media"> <schema xmlns:media_common="http://collectionspace.org/services/media <http://collectionspace.org/services/media>" name="media_common"> <identificationNumber>MR2017.1.200</identificationNumber> <sourceUrl>https://photos.12345 <https://photos.12345></sourceUrl> </schema> </import>* Many thanks, Mo