Skip to content

Commit

Permalink
Cleaned up path expressions, replacing slash with dot, except in HTTP…
Browse files Browse the repository at this point in the history
…S paths.
  • Loading branch information
Ulf Bjorkengren committed Nov 29, 2022
1 parent 1083b95 commit 8622ea2
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions spec/VISSv2_Transport.html
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ <h2>Authorized Read</h2>
Content-Type: application/json; charset=utf-8
...
{
“data”:{“path”:”Vehicle/Drivetrain/InternalCombustionEngine/RPM”,
“data”:{“path”:”Vehicle.Drivetrain.InternalCombustionEngine.RPM”,
“dp”:{“value”:”2372”, “ts”:”2020-04-15T13:37:00Z”}
}
}
Expand Down Expand Up @@ -436,9 +436,9 @@ <h2>Search Read</h2>
Content-Type: application/json; charset=utf-8
...
{
“data”:[{“path”:”Vehicle/Cabin/Door/Row1/Left/IsOpen”, “dp”:{“value”:”false”, “ts”:”2020-04-15T13:37:00Z”}},
“data”:[{“path”:”Vehicle.Cabin.Door.Row1.Left.IsOpen”, “dp”:{“value”:”false”, “ts”:”2020-04-15T13:37:00Z”}},
{...},…
{“path”:”Vehicle/Cabin/Door/Row4/Right/IsOpen”, “dp”:{“value”:”true”, “ts”:”2020-04-15T13:37:00Z”}}
{“path”:”Vehicle.Cabin.Door.Row4.Right.IsOpen”, “dp”:{“value”:”true”, “ts”:”2020-04-15T13:37:00Z”}}
]
}
</code></pre>
Expand Down Expand Up @@ -759,7 +759,7 @@ <h2>Read</h2>
<pre><code>
{
"action": "get",
"path": "Vehicle/Drivetrain/InternalCombustionEngine/RPM",
"path": "Vehicle.Drivetrain.InternalCombustionEngine.RPM",
"requestId": "8756"
}
</code></pre>
Expand All @@ -768,7 +768,7 @@ <h2>Read</h2>
{
"action": "get",
"requestId": "8756",
“data”:{“path”:”Vehicle/Drivetrain/InternalCombustionEngine/RPM”,
“data”:{“path”:”Vehicle.Drivetrain.InternalCombustionEngine/RPM”,
“dp”:{“value”:”2372”, “ts”:”2020-04-15T13:37:00Z”}
}
}
Expand Down Expand Up @@ -799,7 +799,7 @@ <h2>Authorized Read</h2>
<pre><code>
{
"action": "get",
"path": "Vehicle/Drivetrain/InternalCombustionEngine/RPM",
"path": "Vehicle.Drivetrain.InternalCombustionEngine.RPM",
"authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1...Zw_KSsds"
"requestId": "8657"
}
Expand All @@ -809,7 +809,7 @@ <h2>Authorized Read</h2>
{
"action": "get",
"requestId": "8657",
“data”:{“path”:”Vehicle/Drivetrain/InternalCombustionEngine/RPM”,
“data”:{“path”:”Vehicle.Drivetrain.InternalCombustionEngine.RPM”,
“dp”:{“value”:”2372”, “ts”:”2020-04-15T13:37:00Z”}
}
}
Expand All @@ -828,19 +828,19 @@ <h2>Search Read</h2>
<pre><code>
{
"action": "get",
"path": "Vehicle/Cabin",
"filter": {"type":"paths", "value":["Door/*/*/IsOpen", "DriverPosition"]}
"path": "Vehicle.Cabin",
"filter": {"type":"paths", "value":["Door.*.*.IsOpen", "DriverPosition"]}
"requestId": "5688"
}
</code></pre>
Response:
<pre><code>
{
"action": "get",
“data”:[{“path”:”Vehicle/Cabin/Door/Row1/Left/IsOpen”, “dp”:{“value”:”false”, “ts”:”2020-04-15T13:37:00Z”}},
“data”:[{“path”:”Vehicle.Cabin.Door.Row1.Left.IsOpen”, “dp”:{“value”:”false”, “ts”:”2020-04-15T13:37:00Z”}},
{...},…
{“path”:”Vehicle/Cabin/Door/Row4/Right/IsOpen”, “dp”:{“value”:”true”, “ts”:”2020-04-15T13:37:00Z”}},
{“path”:”Vehicle/Cabin/DriverPosition”, “dp”:{“value”:”1”, “ts”:”2020-04-15T07:00:00Z”}}
{“path”:”Vehicle.Cabin.Door.Row4.Right.IsOpen”, “dp”:{“value”:”true”, “ts”:”2020-04-15T13:37:00Z”}},
{“path”:”Vehicle.Cabin.DriverPosition”, “dp”:{“value”:”1”, “ts”:”2020-04-15T07:00:00Z”}}
]
"requestId": "5688",
}
Expand Down Expand Up @@ -889,7 +889,7 @@ <h2>Signal Discovery Read</h2>
<pre><code>
{
"action": "get",
"path": "Vehicle/Drivetrain/FuelSystem",
"path": "Vehicle.Drivetrain.FuelSystem",
"filter":{"type":"dynamic-metadata", "value":["availability", "validate"]}
"requestId": "5687"
}
Expand Down Expand Up @@ -960,7 +960,7 @@ <h2>Update</h2>
<pre><code>
{
"action": "set",
"path": "Vehicle/Drivetrain/Transmission/PerformanceMode",
"path": "Vehicle.Drivetrain.Transmission.PerformanceMode",
"value": "sport",
"requestId": "5687"
}
Expand Down Expand Up @@ -998,7 +998,7 @@ <h2>Authorized Update</h2>
<pre><code>
{
"action": "set",
"path": "Vehicle/Drivetrain/Transmission/PerformanceMode",
"path": "Vehicle.Drivetrain.Transmission.PerformanceMode",
"value": "sport",
"authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1...Zw_KSsds"
"requestId": "5687"
Expand Down Expand Up @@ -1107,7 +1107,7 @@ <h2>Subscribe</h2>
<pre><code>
{
"action": "subscribe",
"path": "Vehicle/Drivetrain/FuelSystem/Level",
"path": "Vehicle.Drivetrain.FuelSystem.Level",
"filter": {"type":"timebased", "value":{"period":"500"}}
"requestId": "6578"
}
Expand Down Expand Up @@ -1135,7 +1135,7 @@ <h2>Subscribe</h2>
{
"action": "subscription",
"subscriptionId": "12345",
“data”: {“path”: ”Vehicle/Drivetrain/FuelSystem/Level”,
“data”: {“path”: ”Vehicle.Drivetrain.FuelSystem.Level”,
“dp”: {“value”: ”50”, “ts”: ”2020-04-15T13:37:00Z”}
},
"ts": "2020-04-15T13:37:00Z"
Expand Down Expand Up @@ -1169,7 +1169,7 @@ <h2>Authorized Subscribe</h2>
<pre><code>
{
"action": "subscribe",
"path": "Vehicle/Drivetrain/FuelSystem/Level",
"path": "Vehicle.Drivetrain.FuelSystem.Level",
"filter": {"type":"range", "value":[{"boundary-op":"gt", "boundary":"49"}, {"boundary-op":"lt", "boundary":"51"}]},
"authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1...Zw_KSsds",
"requestId": "6578"
Expand All @@ -1189,7 +1189,7 @@ <h2>Authorized Subscribe</h2>
{
"action": "subscription",
"subscriptionId": "12345",
“data”: {“path”: ”Vehicle/Drivetrain/FuelSystem/Level”,
“data”: {“path”: ”Vehicle.Drivetrain.FuelSystem.Level”,
“dp”: {“value”: ”50”, “ts”: ”2020-04-15T13:37:00Z”}
},
"ts": "2020-04-15T13:37:00Z"
Expand All @@ -1211,7 +1211,7 @@ <h2>Curve Logging Subscribe</h2>
<pre><code>
{
"action": "subscribe",
"path": "Vehicle/Drivetrain/FuelSystem/Level",
"path": "Vehicle.Drivetrain.FuelSystem.Level",
"filter": {"type":"curvelog", "value":{"maxerr":"0.5", "bufsize":"100"}},
"requestId": "6578"
}
Expand All @@ -1230,7 +1230,7 @@ <h2>Curve Logging Subscribe</h2>
{
"action": "subscription",
"subscriptionId": "12345",
“data”:{“path”: ”Vehicle/Drivetrain/FuelSystem/Level”,
“data”:{“path”: ”Vehicle.Drivetrain.FuelSystem.Level”,
“dp”:[{“value”: ”50”, “ts”: ”2020-04-15T13:38:00Z”}, ..., {“value”: ”25”, “ts”: ”2020-04-15T13:39:30Z”}]
},
"ts": "2020-04-15T13:37:00Z"
Expand All @@ -1251,7 +1251,7 @@ <h2>Range Subscribe</h2>
<pre><code>
{
"action": "subscribe",
"path": "Vehicle/Drivetrain/FuelSystem/Level",
"path": "Vehicle.Drivetrain.FuelSystem.Level",
"filter": "filter":{"type":"range","value":[{"boundary-op":"lt","boundary":"50","combination-op":"OR"},{"boundary-op":"gt","boundary":"55"}]},
"requestId": "6578"
}
Expand All @@ -1270,7 +1270,7 @@ <h2>Range Subscribe</h2>
{
"action": "subscription",
"subscriptionId": "12345",
“data”:{“path”: ”Vehicle/Drivetrain/FuelSystem/Level”,
“data”:{“path”: ”Vehicle.Drivetrain.FuelSystem.Level”,
“dp”:{“value”: ”51”, “ts”: ”2020-04-15T14:00:00Z”},
"ts": "2020-04-15T14:00:00Z"
}
Expand All @@ -1290,7 +1290,7 @@ <h2>Change Subscribe</h2>
<pre><code>
{
"action": "subscribe",
"path": "Vehicle/Drivetrain/FuelSystem/Level",
"path": "Vehicle.Drivetrain.FuelSystem.Level",
"filter": "filter":{"type":"change","value":{"logic-op":"gt","diff":"10"}},
"requestId": "6578"
}
Expand All @@ -1309,7 +1309,7 @@ <h2>Change Subscribe</h2>
{
"action": "subscription",
"subscriptionId": "12345",
“data”:{“path”: ”Vehicle/Drivetrain/FuelSystem/Level”,
“data”:{“path”: ”Vehicle.Drivetrain.FuelSystem.Level”,
“dp”:{“value”: ”101”, “ts”: ”2020-04-15T14:00:00Z”},
"ts": "2020-04-15T14:00:00Z"
}
Expand Down

0 comments on commit 8622ea2

Please sign in to comment.