am857 wrote:
Hi,
I am working with the API-M programaticcally, and more in concrete
with the "addDatastream" function. I've noticed that when you try to
upload a datastream with control_group X (inline XML) the API stores
it without any error but when you go to the object the datastream
appears with control group M instead of X and if you try to display
the contents you get an empty html page with "value" written on it.
This happens with Fedora version 3.0, on the other hand and with
Fedora version 3.2. and exactly the same datastream this doesn't
happen. It ingests it correctly and when you try to access to the
datastream contents you get the proper results. Is it a bug of the
REST API in Fedora 3 or maybe the parameters for calling the service
are different? I attach the url generated for calling the API:
http://localhost:8080/fedora/objects/atest:85/datastreams/RDF?controlGroup=X&dsState=A
POST request with the contents of the file attached.
Thanks in advance,
Agustina
------------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
I am working with Fedora 3.1 (not just 3 as I mentioned in the previous
mail) and 3.2.
Regards,
Agustina
begin:vcard
fn:Agustina Martinez
n:Martinez;Agustina
org:University of Cambridge;CARET
adr:;;CARET, 1st Floor, 16 Mill Lane;Cambridge;Cambridgeshire;CB2 1SB;United Kingdom
email;internet:[email protected]
title:Research Associate
tel;work:(+44) 01223765368
url:www.caret.cam.ac.uk
version:2.1
end:vcard
------------------------------------------------------------------------------
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users