-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API Part2] Updated JSON encoding req class
- Loading branch information
Showing
5 changed files
with
136 additions
and
55 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
api/part2/openapi/examples/commandResult/command-result-datastream.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"datastream@link": { | ||
"href": "https://data.example.org/api/datastreams/445ssdf55", | ||
"title": "Plume Simulation Data", | ||
"type": "application/json" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
api/part2/openapi/examples/commandResult/command-result-inline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"inline": { | ||
"mean": "10.51", | ||
"stdev": "1.23" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
api/part2/openapi/examples/commandResult/command-result-single-obs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"observation@link": { | ||
"href": "https://data.example.org/api/observations/gss45sdf413s387g49445ssdf55?f=json", | ||
"title": "Satellite Image", | ||
"type": "application/json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters