summary refs log tree commit diff
path: root/docs/model/protocol_examples.rst
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-09 13:51:03 -0700
committerKegan Dougal <kegan@matrix.org>2014-09-09 13:51:13 -0700
commit550e8f32ac7a9bc56b57b515c515f85bf264e891 (patch)
tree1609170728e06c2526ccd98899dc9ac379286b19 /docs/model/protocol_examples.rst
parentHangup call if user denies media access. (diff)
downloadsynapse-550e8f32ac7a9bc56b57b515c515f85bf264e891.tar.xz
Move model to client-server for now.
Diffstat (limited to 'docs/model/protocol_examples.rst')
-rw-r--r--docs/model/protocol_examples.rst64
1 files changed, 0 insertions, 64 deletions
diff --git a/docs/model/protocol_examples.rst b/docs/model/protocol_examples.rst
deleted file mode 100644
index 61a599b432..0000000000
--- a/docs/model/protocol_examples.rst
+++ /dev/null
@@ -1,64 +0,0 @@
-PUT /send/abc/ HTTP/1.1
-Host: ...
-Content-Length: ...
-Content-Type: application/json
-
-{
-    "origin": "localhost:5000",
-    "pdus": [
-        {
-            "content": {},
-            "context": "tng",
-            "depth": 12,
-            "is_state": false,
-            "origin": "localhost:5000",
-            "pdu_id": 1404381396854,
-            "pdu_type": "feedback",
-            "prev_pdus": [
-                [
-                    "1404381395883",
-                    "localhost:6000"
-                ]
-            ],
-            "ts": 1404381427581
-        }
-    ],
-    "prev_ids": [
-        "1404381396852"
-    ],
-    "ts": 1404381427823
-}
-
-HTTP/1.1 200 OK
-...
-
-======================================
-
-GET /pull/-1/ HTTP/1.1
-Host: ...
-Content-Length: 0
-
-HTTP/1.1 200 OK
-Content-Length: ...
-Content-Type: application/json
-
-{
-    origin: ...,
-    prev_ids: ...,
-    data: [
-        {
-            data_id: ...,
-            prev_pdus: [...],
-            depth: ...,
-            ts: ...,
-            context: ...,
-            origin: ...,
-            content: {
-                ...
-            }
-        },
-        ...,
-    ]
-}
-
-