Ok, got you.

try this:
http://localhost:8080/fedora/objects/test:1/datastreams/DS1/content?asOfDateTime=2011-05-03T11:48:31.337Z
(asOfDateTime instead of asVersionDate)

- Renato

On 03.05.11 13:27, Jörg Panzer wrote:
Hello Renato,

thank you for your answer.

You should see a List of all versions for your datastream here:
http://localhost:8080/fedora/objects/test:1/datastreams/DS1/history

And there you have the link to each version.

The links are there and they pointing to the right datastream (.../content?asVersionDate=...) but any link returns just the last ingested datastream (the same DS).


Greetings
- Renato

On 03.05.11 12:20, Jörg Panzer wrote:
Hello, I got a problem with versioning of Fedora!

if I change a "referenced" datastream and save it with a new dsLocation (reference to the new version) a new datastream version will be created. This new Version got its own DsId, a Created-Attribute and its own dsLocation. So far everything is all right. But with the information stored in Created-Attribute, it should be possible to get the desired Version, however everytime just the latest Version will be returned.

I tried it with:

http://localhost:8080/fedora/get/test:1/DS1?asOfVersionDate={version-created} <http://localhost:8080/fedora/get/test:1/DS1?asOfVersionDate=%7Bversion-created%7D>
or
http://localhost:8080/fedora/objects/test:1/datastreams/DS1/content?asOfVersionDate={version-created} <http://localhost:8080/fedora/objects/test:1/datastreams/DS1/content?asOfVersionDate=%7Bversion-created%7D>

{version-created} - something like 2011-05-03T16:20:24.743Z

Does anybody have any suggestion why it does not work as I anticipated?

Thanks,
Jorg

---
Jörg-H. Panzer

Georg-August-Universitaet Goettingen
State and University Library
Research and Development Department (RDD)
Germany
pan...@sub.uni-goettingen.de <mailto:mah...@sub.uni-goettingen.de>


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd


_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

--
SWITCH
Serving Swiss Universities
--------------------------
Renato Furter, NetServices
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 88, fax +41 44 268 15 68,
renato.fur...@switch.ch, http://www.switch.ch

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to