Commit graph

228 commits

Author SHA1 Message Date
Kegsay
117b090192 Add registration API extension.
For AS provisioning of users with its namespace.
2015-01-19 10:33:08 +00:00
Kegsay
603361bfd6 Update user and room query APIs
Expect the AS to create these entities, rather than the HS.
2015-01-19 10:20:39 +00:00
Erik Johnston
38efa9c5c2 Reword auth resolution section 2015-01-16 16:09:07 +00:00
Erik Johnston
91aba39fe7 Reword note about auth chains 2015-01-16 15:17:09 +00:00
Erik Johnston
5f99858575 Mention possible types for auth events. 2015-01-16 15:12:47 +00:00
Erik Johnston
bb968e5bdd Clarify m.room.create auth 2015-01-16 15:12:34 +00:00
Kegsay
828d6992e5 Small thoughts about the IRC example. 2015-01-16 14:35:20 +00:00
Kegsay
bd6fc4b5bf Add draft Pushing API. Add Examples section.
Work through an IRC example; raise issues in the notes
section. Add retry notes on HS>AS API calls.
2015-01-16 14:29:53 +00:00
Kegsay
1d45dc08ca Add room query API. Remove linking API.
Also add section on ID conventions which need thinking about.
2015-01-16 10:56:42 +00:00
Erik Johnston
78a697c535 Briefly touch on how to handle incoming events 2015-01-16 10:24:43 +00:00
Erik Johnston
406742afaa A few notes on how we could do state resolution of auth events 2015-01-16 10:15:07 +00:00
Erik Johnston
4b76181f74 Rearrange sections 2015-01-16 10:15:07 +00:00
Kegsay
f33b722e4b More clarifications
s/as_token/access_token/ for CS extensions. Clarify when room queries are made.
2015-01-16 08:28:55 +00:00
Kegsay
1b3e27a05a Add Linking HTTP API
Also add note on masquerading problem.
2015-01-15 17:26:36 +00:00
Kegsay
0313397e42 Clarification on IDs
Specifically using the term "virtual user ID" in more places to mean the namespace of AS user IDs.
2015-01-15 16:51:20 +00:00
Kegsay
e0e9beebc0 Add draft Linking API
Also re-add sigils to regex.
2015-01-15 16:48:39 +00:00
Kegsay
7d56113b4f Clarification and tweaks
Room ID namespace clarifications and s/as_token/access_token/g for client-server extensions.
2015-01-15 14:27:20 +00:00
Kegsay
d4ea43d2b9 Outline what the CS extensions look like in HTTP 2015-01-15 13:56:03 +00:00
Kegsay
9401d9a62e Flesh out the required CS extensions 2015-01-15 13:48:50 +00:00
Kegsay
d8cd4a45d4 Modify Register API
As per https://github.com/matrix-org/matrix-doc/pull/5#issuecomment-70059200
2015-01-15 09:50:38 +00:00
Matthew Hodgson
b19a799a0e notes on how to build pstn gateway ASes 2015-01-15 01:57:03 +00:00
Kegsay
cdeb0faf85 Remove block quotes of shame 2015-01-14 17:17:18 +00:00
Kegsay
d240e1f856 Add TODO APIs 2015-01-14 17:01:33 +00:00
Kegsay
ad7d675d3d Draft Registration and User Query APIs 2015-01-14 16:40:50 +00:00
Erik Johnston
b28f404240 Add ToC 2015-01-14 16:30:25 +00:00
Erik Johnston
7108316ea8 Mention the fields that the server should compute when creating events 2015-01-14 16:24:33 +00:00
Erik Johnston
232e2675dd Brief mention of state conflict resolution 2015-01-14 16:24:33 +00:00
Erik Johnston
f09e5a676f Mention state resolution algorithm 2015-01-14 16:24:33 +00:00
Erik Johnston
7d32717c9b A couple of more notes on auth resolution. 2015-01-14 16:24:33 +00:00
Kegan Dougal
68c774689a Add stub AS HTTP API doc 2015-01-14 15:34:07 +00:00
Kegsay
540b3a41ff RSTify; typos 2015-01-14 15:15:40 +00:00
Mark Haines
ee41165610 Remove cs-v2-http-api since it's in the client_server_v2_http_api branch now 2015-01-14 11:57:07 +00:00
Mark Haines
6324f8c1ca Fix the size of the reference id hash tuple 2015-01-14 11:49:46 +00:00
Erik Johnston
90ad08e866 Merge branch 'master' of github.com:matrix-org/matrix-doc 2015-01-14 11:39:39 +00:00
Erik Johnston
48f9670b87 More comments on auth chain resolution 2015-01-14 10:59:28 +00:00
Kegsay
4b23a16abb Few minor RST tweaks 2015-01-14 10:53:49 +00:00
Kegsay
8ca0c65fd3 RST Formatting for github 2015-01-14 10:44:47 +00:00
Kegsay
a1aaf78186 Typing API, Action ID, Event ordering changes
Apply most changes discussed in https://github.com/matrix-org/matrix-doc/pull/4#issuecomment-69751210
- Revert typing API to be like v1
- Revert Action IDs to be like Transaction IDs are for v1. Keep the echo down the event stream though.
- Add batching notes to some Action APIs and remove ordering by action ID.
Sessions still need to scrapped.
2015-01-14 09:28:41 +00:00
Matthew Hodgson
91ad3924fc initial http api proposal for initialsync, eventstream and history
+ our theoretical design workflow atm
2015-01-14 01:08:27 +00:00
Mark Haines
ae9aacd89d Add a JSON schema for matrix federation events 2015-01-13 19:03:11 +00:00
Matthew Hodgson
b557e71121 update AS API to merge in feedback from the pull request 2015-01-13 16:25:28 +00:00
Matthew Hodgson
e283d8e4ea WIP http api definition for cs-v2 2015-01-13 13:20:45 +00:00
Matthew Hodgson
1c69ba974f some comments on general_api 2015-01-13 13:20:25 +00:00
Kegan Dougal
d5099b2656 Add session API. Add server-generated events.
Moved 'Inviting' API from Final to ONGOING in light of issues brought up
from PR comments and irl discussions.
2015-01-13 09:51:53 +00:00
Kegan Dougal
d987afe3e2 80 characters 2015-01-13 09:17:13 +00:00
Erik Johnston
569d496430 Rearrange sections 2015-01-12 16:57:02 +00:00
Kegsay
e2894045d5 Initial Sync: Ongoing > Draft with additional work
Descoped some points to v2.1 as discussed irl.
2015-01-12 15:52:19 +00:00
Erik Johnston
e0a9328432 Auth chains 2015-01-12 15:05:02 +00:00
Erik Johnston
f993c30a11 Quick summary of failures. 2015-01-12 14:13:08 +00:00
Kegan Dougal
8fc472c13c Clarify rejected events better. 2015-01-12 13:29:48 +00:00