Re: Discovery API proposals: call for comments

> Dave Raggett wrote:
>>
>> Does getNetworkedServices also apply to other kinds of interconnect
>> technologies such as USB, or services directly coupled to the device
>> hosting the web run time? This suggests changing the terminology to be
>> more general, e.g. findService.
>>
>
> This proposal allows discovery and connection to _HTTP_ service
> endpoints only. Bluetooth and USB would be nice but we decided not to
> overload this API beyond its intended capability.
>

This does apply to services directly coupled to the device hosting the 
web run time. I'd really like to be able to request e.g. 
'contacts.localhost' which happens to be a HTTP API provided directly by 
the user agent. On receiving access to that service, which is directly 
exposing the device's native contact database, I can interact with that 
API in the same way as for any other service.

Exactly which native APIs could be exposed in that method and what those 
APIs would look like is a secondary discussion. We could expose pretty 
much any data-based information from the local device in this way.

> - Rich
>

Received on Thursday, 22 September 2011 11:57:52 UTC