diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-08-12 16:05:23 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-08-12 16:39:35 +0100 |
commit | cf45ed1bc0bb23917001b63adaca7fd126c64996 (patch) | |
tree | 79ccb12349f7b8f6ce954bf5373c6282bc898fd9 /docs/protocol_examples | |
parent | Reference Matrix Home Server (diff) | |
download | synapse-cf45ed1bc0bb23917001b63adaca7fd126c64996.tar.xz |
Add .rst suffix to documentation files so that github auto-formats them
Diffstat (limited to 'docs/protocol_examples')
-rw-r--r-- | docs/protocol_examples | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/docs/protocol_examples b/docs/protocol_examples deleted file mode 100644 index 61a599b432..0000000000 --- a/docs/protocol_examples +++ /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: { - ... - } - }, - ..., - ] -} - - |