Skip to content

Commit

Permalink
Merge pull request #493 from UlfBj/issue474
Browse files Browse the repository at this point in the history
Error code examples updated.
  • Loading branch information
tguild authored Feb 9, 2024
2 parents e870ef4 + 299fc84 commit 6ec398e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec/VISSv2_Transport.html
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ <h2>Read</h2>
Content-Type: application/json; charset=utf-8
...
{
"error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."},
"error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down Expand Up @@ -344,7 +344,7 @@ <h2>Authorized Read</h2>
Content-Type: application/json; charset=utf-8
...
{
"error": {"number": 401, "reason": "token_invalid", "message": "Access token is invalid."},
"error": {"number": 401, "reason": "invalid_token", "message": "Access token is invalid."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down Expand Up @@ -382,7 +382,7 @@ <h2>Search Read</h2>
Content-Type: application/json; charset=utf-8
...
{
"error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."},
"error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down Expand Up @@ -503,7 +503,7 @@ <h2>Update</h2>
Content-Type: application/json; charset=utf-8
...
{
"error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."},
"error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down Expand Up @@ -706,7 +706,7 @@ <h2>Read</h2>
{
"action": "get",
"requestId": "8756",
"error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."},
"error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down Expand Up @@ -906,7 +906,7 @@ <h2>Update</h2>
{
"action": "set",
"requestId": "5687",
"error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."},
"error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down Expand Up @@ -1055,7 +1055,7 @@ <h2>Subscribe</h2>
{
"action": "subscribe",
"requestId": "6578",
"error": {"number": 404, "reason": "invalid_path", "message": "The specified data path does not exist."},
"error": {"number": 404, "reason": "unavailable_data", "message": "The requested data was not found."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down Expand Up @@ -1319,7 +1319,7 @@ <h2>Unsubscribe</h2>
{
"action": "unsubscribe",
"requestId": "6578",
"error": {"number": 404, "reason": "invalid_subscriptionId", "message": "The specified subscription was not found"},
"error": {"number": 400, "reason": "invalid_data", "message": "Data present in the request is invalid."},
"ts": "2020-04-15T13:37:00Z"
}
</code></pre>
Expand Down

0 comments on commit 6ec398e

Please sign in to comment.