Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jul 25, 2023
1 parent a5a54d0 commit 5ddd5c1
Show file tree
Hide file tree
Showing 13 changed files with 67 additions and 13 deletions.
6 changes: 5 additions & 1 deletion docs/big-data-flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,11 @@ curl -X GET \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

```json
[
Expand Down
6 changes: 5 additions & 1 deletion docs/big-data-spark.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,11 @@ curl -X GET \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

```json
[
Expand Down
6 changes: 5 additions & 1 deletion docs/concise.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,11 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Temperatu
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```
TemperatureSensor `urn:ngsi-ld:TemperatureSensor:001` is returned as _concise_ NGSI-LD. Additional metadata is returned
because `options=sysAttrs`. By default the `@context` is returned in the payload body (although this could be moved due
Expand Down
6 changes: 5 additions & 1 deletion docs/entity-relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,11 @@ curl -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=TemperatureSensor,F
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```
```json
[
Expand Down
6 changes: 5 additions & 1 deletion docs/identity-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,11 @@ curl -iX POST \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

The response header returns an `X-Subject-token` which identifies who has logged on the application. This token is
required in all subsequent requests to gain access.
Expand Down
6 changes: 5 additions & 1 deletion docs/iot-agent-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,11 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Device:te
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

```json
{
Expand Down
7 changes: 6 additions & 1 deletion docs/iot-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,12 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Device:te
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```


```json
{
Expand Down
6 changes: 5 additions & 1 deletion docs/merge-patch.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,11 @@ curl -L -X GET \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```
```json
{
Expand Down
6 changes: 5 additions & 1 deletion docs/ngsi-ld-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,11 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Temperatu
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

TemperatureSensor `urn:ngsi-ld:TemperatureSensor:001` is returned as _normalized_ NGSI-LD. Additional metadata is
returned because `options=sysAttrs`. By default, the `@context` is returned in the payload body (although this could be
Expand Down
7 changes: 6 additions & 1 deletion docs/roles-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,12 @@ curl -iX POST \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```


```text
HTTP/1.1 201 Created
Expand Down
6 changes: 5 additions & 1 deletion docs/short-term-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,11 @@ curl -L -X GET \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

The response will look similar to the following:

Expand Down
6 changes: 5 additions & 1 deletion docs/time-series-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,11 @@ curl -X GET \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

```json
[
Expand Down
6 changes: 5 additions & 1 deletion docs/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ curl -X GET \
#### Response:

> **Tip:** Use [jq](https://www.digitalocean.com/community/tutorials/how-to-transform-json-data-with-jq) to format
> the JSON responses in this tutorial. Pipe the result by appending `| jq '.'`
> the JSON responses in this tutorial. Pipe the result by appending
>
> ```
> | jq '.'
> ```

The response will look similar to the following:

Expand Down

0 comments on commit 5ddd5c1

Please sign in to comment.