W3C home > Mailing lists > Public > public-media-annotation@w3.org > March 2010

Re: Update API document

From: Felix Sasaki <felix.sasaki@fh-potsdam.de>
Date: Wed, 3 Mar 2010 15:30:19 +0100
Message-ID: <ba4134971003030630y48f66fe2x4a7f46645d71e9f3@mail.gmail.com>
To: Chris.Poppe@ugent.be
Cc: "Bailer, Werner" <werner.bailer@joanneum.at>, wslee@etri.re.kr, public-media-annotation@w3.org
Hi Chris,

2010/3/3 Chris Poppe <Chris.Poppe@ugent.be>

>  Dear all,
>
>
>
> I have updated the API document according to the remarks of Werner (except
> for the list of possible values remark).
>
>
>
> @Felix,
>
> I guess the request could look something like this (I have no idea about
> the proper syntax so itís just to give you an idea):
>
> Request:
> http://example.com/my-media-resource/getProperty?ma-name=x&?ma-source=y&?ma-subtype=z&?ma-language=s&?ma-fragment=t
>

That looks good, thanks.


>
>
> Not sure how to denote that these are optional parameters, or what the JSON
> format is to return the list of MAObjects that correspond to the request. I
> am sure you can come up with a good solution.
>

OK, I will try. One further question: Is it ok to re-use as a respone what
is written in the non-web-service scenario? E.g. for "identifier" it
is ["http://www.w3.org/2008/WebVideo/Annotations/wiki/Image:MAWG-Stockholm-20090626.JPG"]
. That would make life (i.e. the creation of the JSON format) quite easy.

Best,

Felix
Received on Wednesday, 3 March 2010 14:30:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 March 2010 14:30:52 GMT