Skip to content

Exclude fetch specification from Scripting API #162

@danielpeintner

Description

@danielpeintner

We had discussions around "whether fetching a TD should be part of the Scripting API" (e.g., for consuming a thing). This issue is meant to summarize the discussions and propose text which goes into rationale.md for traceability.

Fetching a TD from a resource might as easy as providing an URI. Having said that, even in this presumably simple case the URI might be an http-uri, a coap-uri, or a data-uri. Probably not all scripting API implementations support all the different kinds of URIs. Other fetching mechanisms might require additional information/credentials etc to access the resource.

Hence it seems reasonable to sketch possible ways how a TD might be fetched (e.g., browser fetch) in the scripting API document without making any normative statements how this is going to happen. The assumed starting point is the ThingDescription (TD) itself (e.g., in form of a JSON document, object, ...).

I hope this summarizes the discussion. Please make comments below and we will update the text accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions