Skip to content

Commit

Permalink
add docu review comments;
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed Oct 13, 2021
1 parent f60cfbb commit 9fb625f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ This maps to the following HTTP API endpoints:

#### `/things` in API 2 - dynamic part

Additionally, to that "static part" of the HTTP API which is defined by Ditto, the API is dynamically enhanced by the
Additionally to that "static part" of the HTTP API which is defined by Ditto, the API is dynamically enhanced by the
JSON structure of the Thing.<br/>

{% include note.html content="This automatically turns each small aspect of a **digital twin** into an API endpoint." %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ Ditto supports two types of communication channels: `twin` and `live`.
The `twin` channel is used to communicate with the **digital twin** representation of a device.
The `live` channel can be used to communicate directly with an actual device.
In case the `live` channel is used, the device itself is responsible for answering the command/message.
If no response is returned the request will result in a timeout and Ditto will respond with `408 Request Timeout`.
This timeout can be set with the `timeout` parameter. If no `timeout` parameter is set the default of `10s` is used to
If no response is returned, the request will result in a timeout, and Ditto will respond with `408 Request Timeout`.
This timeout can be set with the `timeout` parameter. If no `timeout` parameter is set, the default of `10s` is used to
wait for response of the device.
When routing live commands to devices Ditto is doing an [authorization check](basic-auth.html) based on the policy
When routing live commands to devices, Ditto is doing an [authorization check](basic-auth.html) based on the policy
of the thing. Ditto also filters responses based on that policy.

The default channel for all HTTP requests is the `twin` channel. The channel can either be set via HTTP header or via
query parameter.

For more information about the channel concept can be found [here](protocol-twinlive.html).
For more information about the channel concept see section [Ditto Protocol > Protocol twin/live channel](protocol-twinlive.html).

## Content Type

Expand Down

0 comments on commit 9fb625f

Please sign in to comment.