Re: JSON Resonses for general test cases & stub for getOriginalMetadata

Florian,
Thanks,

I have integrated these responses.
http://www.w3.org/2008/WebVideo/Annotations/drafts/API/implementation-report.html

Thierry

Le 09/02/2012 09:14, Florian Stegmaier a écrit :
> Dear all,
>
> Here are my JSON response proposals for G3-G7 [1]:
>
> G3: Passing NULL value instead property array
> ->  https://www.dimis.fim.uni-passau.de/~stegmai/mawg/mawg_400.json
>
> G4: Property array filled with duplicates
> Here i had a discussion already with Werner what to do in this case. These three cases can be considered:
> i) Bad request https://www.dimis.fim.uni-passau.de/~stegmai/mawg/mawg_400.json
> or
> ii) Response carries duplicate entries
> iii) A DISTINCT response (no duplicates)
>
> i would prefer version i) here.
>
> G5: Multiple metadata sources specified
> ->  here it should say 200, right? (since we allow an array of metadata sources in createMediaResource)
> ->  https://www.dimis.fim.uni-passau.de/~stegmai/mawg/mawg_200.json
>
> G6: No metadata source specified
> ->  not quiet sure - 404?
> ->  https://www.dimis.fim.uni-passau.de/~stegmai/mawg/mawg_404.json
>
> G7: Non-existent metadata source
> ->  not quiet sure - 404?
> ->  https://www.dimis.fim.uni-passau.de/~stegmai/mawg/mawg_404.json
>
> Feedback on this is more than welcome! Thanks in advance!
>
> @Thierry: the getOriginalMetadata is the RDF encapsulated into this JSON fragment:
>
> [ { "statusCode" : 200},
>    {"originalMetadata" : "<RDF_code>"} ]
>
> Cheers.
>
> [1] http://www.w3.org/2008/WebVideo/Annotations/drafts/API/implementation-report.html
> _____________________________
> Dipl. Inf. Florian Stegmaier
> Chair of Distributed Information Systems
> University of Passau
> Innstr. 43
> 94032 Passau
>
> Room 248 ITZ
>
> Tel.: +49 851 509 3063
> Fax: +49 851 509 3062
>
> stegmai@dimis.fim.uni-passau.de
> https://www.dimis.fim.uni-passau.de/iris/
> http://twitter.com/fstegmai
> _____________________________
>
>

Received on Thursday, 9 February 2012 15:00:48 UTC