[tor-commits] [bridgedb/master] Clarify the specified moat error if there are no bridges.
isis at torproject.org
isis at torproject.org
Wed Dec 20 23:10:05 UTC 2017
commit b0898951e8c1b9a4b3d615e9d9422d5c4ce67576
Author: Isis Lovecruft <isis at torproject.org>
Date: Wed Dec 20 21:36:18 2017 +0000
Clarify the specified moat error if there are no bridges.
---
README.rst | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/README.rst b/README.rst
index 8481382..7e4f6d1 100644
--- a/README.rst
+++ b/README.rst
@@ -556,13 +556,14 @@ server is unable to distribute the requested Bridges, the server responds ``200
OK`` with the following JSON::
{
- "error": {
- "id": "1",
+ "errors": [{
+ "id": "6",
+ "type": "moat-bridges",
+ "version": "0.1.0",
"code": "404",
"status": "Not Found",
- "title": "Could not fetch the type of bridges you requested",
"detail": "DETAILS",
- }
+ }]
}
where:
More information about the tor-commits
mailing list