W3C home > Mailing lists > Public > public-media-annotation@w3.org > February 2012

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

From: Thierry MICHEL <tmichel@w3.org>
Date: Thu, 09 Feb 2012 16:00:36 +0100
Message-ID: <4F33DF94.2040506@w3.org>
To: Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>
CC: public-media-annotation@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 February 2012 15:00:49 GMT