Hello Renato and Ludovic,
thank you for your helpful answer.
Jorg
---
Am 03.05.2011 um 14:01 schrieb Renato Furter:
> 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}
>>>> or
>>>>
>>>> http://localhost:8080/fedora/objects/test:1/datastreams/DS1/content?asOfVersionDate={version-created}
>>>>
>>>> {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
>>
------------------------------------------------------------------------------
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